freebsd-ports/www/squid33/files/patch-compat__stdio.h

12 lines
324 B
C
Raw Normal View History

--- compat/stdio.h.orig 2013-05-20 13:48:55.000000000 +0200
+++ compat/stdio.h 2013-07-15 22:34:49.000000000 +0200
@@ -46,7 +46,7 @@
#endif /* __USE_FILE_OFFSET64 && !__REDIRECT */
// Finally import the <cstdio> stuff we actually use
-#if HAVE_CSTDIO
+#if defined(__cplusplus) && HAVE_CSTDIO
#include<cstdio>
#endif