diff options
author | Mark Adler <fork@madler.net> | 2022-10-03 08:47:03 -0700 |
---|---|---|
committer | Hans Kristian Rosbach <hk-github@circlestorm.org> | 2023-03-17 21:27:56 +0100 |
commit | 39bac283533d5e9ac01a5e380679af9b091b9938 (patch) | |
tree | 51d86749a178286657ab6f79ad5287eef141c5b3 | |
parent | 261fc21732f40bb9fc1064b32a2a4fd5e4b918d8 (diff) |
Add WIN32_LEAN_AND_MEAN for windows.h include.
-rw-r--r-- | zconf.h.in | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -85,6 +85,9 @@ * Caution: the standard ZLIB1.DLL is NOT compiled using ZLIB_WINAPI. */ #if defined(ZLIB_WINAPI) && defined(_WIN32) +# ifndef WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +# endif # include <windows.h> /* No need for _export, use ZLIB.DEF instead. */ /* For complete Windows compatibility, use WINAPI, not __stdcall. */ |