aboutsummaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
authorMark Adler <fork@madler.net>2022-10-03 08:47:03 -0700
committerMark Adler <fork@madler.net>2022-10-05 15:17:52 -0700
commit456775aec853102d5de9de3b225a547aa1583f02 (patch)
tree94e9371134ac58341442e226a77c2ec1ea497f87 /zconf.h
parent4078713e3bdd4a310fde906a1d6b74a6bfe77e5b (diff)
downloadzlib-456775aec853102d5de9de3b225a547aa1583f02.tar.gz
zlib-456775aec853102d5de9de3b225a547aa1583f02.tar.bz2
zlib-456775aec853102d5de9de3b225a547aa1583f02.zip
Add WIN32_LEAN_AND_MEAN for windows.h include.
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/zconf.h b/zconf.h
index 5e1d68a..0ba5bd5 100644
--- a/zconf.h
+++ b/zconf.h
@@ -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. */