diff src/glyphs-eimage.c @ 5536:bbcf3f979099

Suppress the "undefined macros" warnings for zlib.
author Stephen J. Turnbull <stephen@xemacs.org>
date Mon, 08 Aug 2011 13:57:18 +0900
parents ac37a5f7e5be
children 2df2d9171f20
line wrap: on
line diff
--- a/src/glyphs-eimage.c	Mon Aug 08 13:57:18 2011 +0900
+++ b/src/glyphs-eimage.c	Mon Aug 08 13:57:18 2011 +0900
@@ -59,6 +59,12 @@
 BEGIN_C_DECLS
 
 #define message message_ /* Yuck */
+#if !defined(_LARGEFILE64_SOURCE) /* Yuck**2 -- see <zconf.h>. */
+#define _LARGEFILE64_SOURCE 0
+#endif
+#if !defined(_FILE_OFFSET_BITS) /* Yuck**2 -- see <zlib.h>. */
+#define _FILE_OFFSET_BITS 0
+#endif
 #include <png.h>
 #undef message