]> git.ipfire.org Git - thirdparty/zlib-ng.git/commitdiff
Avoid including stddef.h on Windows for Z_SOLO compile [Niessink].
authorMark Adler <madler@alumni.caltech.edu>
Fri, 4 May 2012 04:23:45 +0000 (21:23 -0700)
committerMark Adler <madler@alumni.caltech.edu>
Fri, 4 May 2012 04:23:45 +0000 (21:23 -0700)
zconf.h
zconf.h.cmakein
zconf.h.in

diff --git a/zconf.h b/zconf.h
index 8a46a58b30c59423a827a62437bc6e50fdbe4e90..c71cade09f8db37b31fb360bcac0bb356ea9f095 100644 (file)
--- a/zconf.h
+++ b/zconf.h
@@ -426,7 +426,9 @@ typedef uLong FAR uLongf;
 #endif
 
 #ifdef _WIN32
-#  include <stddef.h>           /* for wchar_t */
+#  ifndef Z_SOLO
+#    include <stddef.h>         /* for wchar_t */
+#  endif
 #endif
 
 /* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
index b6ca59ab4270d48d918ff65195e2188a99e736c7..1d31b67e2e21f1d5def700cb262d59297a8c94c9 100644 (file)
@@ -428,7 +428,9 @@ typedef uLong FAR uLongf;
 #endif
 
 #ifdef _WIN32
-#  include <stddef.h>           /* for wchar_t */
+#  ifndef Z_SOLO
+#    include <stddef.h>         /* for wchar_t */
+#  endif
 #endif
 
 /* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
index 8a46a58b30c59423a827a62437bc6e50fdbe4e90..c71cade09f8db37b31fb360bcac0bb356ea9f095 100644 (file)
@@ -426,7 +426,9 @@ typedef uLong FAR uLongf;
 #endif
 
 #ifdef _WIN32
-#  include <stddef.h>           /* for wchar_t */
+#  ifndef Z_SOLO
+#    include <stddef.h>         /* for wchar_t */
+#  endif
 #endif
 
 /* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and