Fix compilation with clang.

This commit is contained in:
Simon Ruderich
2013-06-10 21:27:12 +02:00
parent 9434382c9e
commit 779ba750f7

View File

@@ -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(). */