diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-05-03 21:23:45 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-05-03 21:23:45 -0700 |
commit | 3a8e3bd9e566dacef78c5b2dc9509e0c6ca8964a (patch) | |
tree | ed6d082b0d8ff68ad585f218c08ba2e138301c60 /zconf.h.cmakein | |
parent | c58f7ab28d5fc346032592414055db4edcc18050 (diff) | |
download | zlib-3a8e3bd9e566dacef78c5b2dc9509e0c6ca8964a.tar.gz |
Avoid including stddef.h on Windows for Z_SOLO compile [Niessink].
Diffstat (limited to 'zconf.h.cmakein')
-rw-r--r-- | zconf.h.cmakein | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index b6ca59a..1d31b67 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein @@ -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 |