diff options
-rw-r--r-- | zconf.h | 3 | ||||
-rw-r--r-- | zconf.h.cmakein | 3 | ||||
-rw-r--r-- | zconf.h.in | 3 |
3 files changed, 9 insertions, 0 deletions
@@ -349,6 +349,9 @@ | |||
349 | # ifdef FAR | 349 | # ifdef FAR |
350 | # undef FAR | 350 | # undef FAR |
351 | # endif | 351 | # endif |
352 | # ifndef WIN32_LEAN_AND_MEAN | ||
353 | # define WIN32_LEAN_AND_MEAN | ||
354 | # endif | ||
352 | # include <windows.h> | 355 | # include <windows.h> |
353 | /* No need for _export, use ZLIB.DEF instead. */ | 356 | /* No need for _export, use ZLIB.DEF instead. */ |
354 | /* For complete Windows compatibility, use WINAPI, not __stdcall. */ | 357 | /* For complete Windows compatibility, use WINAPI, not __stdcall. */ |
diff --git a/zconf.h.cmakein b/zconf.h.cmakein index a7f24cc..62c5261 100644 --- a/zconf.h.cmakein +++ b/zconf.h.cmakein | |||
@@ -351,6 +351,9 @@ | |||
351 | # ifdef FAR | 351 | # ifdef FAR |
352 | # undef FAR | 352 | # undef FAR |
353 | # endif | 353 | # endif |
354 | # ifndef WIN32_LEAN_AND_MEAN | ||
355 | # define WIN32_LEAN_AND_MEAN | ||
356 | # endif | ||
354 | # include <windows.h> | 357 | # include <windows.h> |
355 | /* No need for _export, use ZLIB.DEF instead. */ | 358 | /* No need for _export, use ZLIB.DEF instead. */ |
356 | /* For complete Windows compatibility, use WINAPI, not __stdcall. */ | 359 | /* For complete Windows compatibility, use WINAPI, not __stdcall. */ |
@@ -349,6 +349,9 @@ | |||
349 | # ifdef FAR | 349 | # ifdef FAR |
350 | # undef FAR | 350 | # undef FAR |
351 | # endif | 351 | # endif |
352 | # ifndef WIN32_LEAN_AND_MEAN | ||
353 | # define WIN32_LEAN_AND_MEAN | ||
354 | # endif | ||
352 | # include <windows.h> | 355 | # include <windows.h> |
353 | /* No need for _export, use ZLIB.DEF instead. */ | 356 | /* No need for _export, use ZLIB.DEF instead. */ |
354 | /* For complete Windows compatibility, use WINAPI, not __stdcall. */ | 357 | /* For complete Windows compatibility, use WINAPI, not __stdcall. */ |