X-Git-Url: https://ruderich.org/simon/gitweb/?p=coloredstderr%2Fcoloredstderr.git;a=blobdiff_plain;f=src%2Fcoloredstderr.c;h=cc588836817b4dfaad26713b7a3b24f77c145cff;hp=d4ffdb6aa5bcb84cc3d9450e5ea8052b534a06cd;hb=779ba750f7faa68c594339399cb710ca362b3465;hpb=9434382c9ee992da3c21ff830793f15a55fc2b2d diff --git a/src/coloredstderr.c b/src/coloredstderr.c index d4ffdb6..cc58883 100644 --- a/src/coloredstderr.c +++ b/src/coloredstderr.c @@ -38,6 +38,11 @@ /* Conflicting declaration in glibc. */ #undef fwrite_unlocked +/* These functions may be macros when compiling with hardening flags (fortify) + * which cause build failures when used in our hook macros below. Observed + * with Clang on Debian Wheezy. */ +#undef printf +#undef fprintf /* Used by various functions, including debug(). */