Avoid including stddef.h on Windows for Z_SOLO compile [Niessink].

This commit is contained in:
Mark Adler
2012-05-03 21:23:45 -07:00
parent c58f7ab28d
commit 3a8e3bd9e5
3 changed files with 9 additions and 3 deletions

View File

@@ -426,8 +426,10 @@ typedef uLong FAR uLongf;
#endif
#ifdef _WIN32
# ifndef Z_SOLO
# include <stddef.h> /* for wchar_t */
# endif
#endif
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even

View File

@@ -428,8 +428,10 @@ typedef uLong FAR uLongf;
#endif
#ifdef _WIN32
# ifndef Z_SOLO
# include <stddef.h> /* for wchar_t */
# endif
#endif
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even

View File

@@ -426,8 +426,10 @@ typedef uLong FAR uLongf;
#endif
#ifdef _WIN32
# ifndef Z_SOLO
# include <stddef.h> /* for wchar_t */
# endif
#endif
/* a little trick to accommodate both "#define _LARGEFILE64_SOURCE" and
* "#define _LARGEFILE64_SOURCE 1" as requesting 64-bit operations, (even