X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=src%2Fcoloredstderr.c;h=cc588836817b4dfaad26713b7a3b24f77c145cff;hb=8a58e07a5bc69ef7170faee373d070684d2f159d;hp=d4ffdb6aa5bcb84cc3d9450e5ea8052b534a06cd;hpb=237251ae9ca3a2f72cef9a92c590865660bcee8b;p=coloredstderr%2Fcoloredstderr.git 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(). */