Re-add WIN32_LEAN_AND_MEAN for the asdcplib build.
authorCarl Hetherington <cth@carlh.net>
Mon, 3 Feb 2020 16:45:54 +0000 (17:45 +0100)
committerCarl Hetherington <cth@carlh.net>
Mon, 3 Feb 2020 16:45:54 +0000 (17:45 +0100)
wscript

diff --git a/wscript b/wscript
index e214b5a1d4b29b41f91d6006583fa2362cfd2dff..c1536752a3e210fdc72313f653614dac2294ea99 100644 (file)
--- a/wscript
+++ b/wscript
@@ -83,7 +83,7 @@ def configure(conf):
 def build(bld):
     if bld.env.TARGET_WINDOWS:
         boost_lib_suffix = '-mt'
-        flags = '-DKM_WIN32'
+        flags = '-DKM_WIN32 -DWIN32_LEAN_AND_MEAN'
     else:
         boost_lib_suffix = ''
         flags = ''