Browse Source

WIN32_LEAN_AND_MEAN is armed!

Zachary Pavlov 19 years ago
parent
commit
d81b48be24
2 changed files with 2 additions and 2 deletions
  1. 1 1
      dtool/pptempl/Global.gmsvc.pp
  2. 1 1
      dtool/pptempl/Global.msvc.pp

+ 1 - 1
dtool/pptempl/Global.gmsvc.pp

@@ -121,7 +121,7 @@
 // '#defer extra_cflags $[extra_cflags] /STUFF' will never work because extra_cflags hasnt been
 // defined yet, so this just evaluates the reference to null and removes the reference and the
 // the defining extra_cflags in individual sources.pp's will not picked up.  use END_FLAGS instead
-#defer extra_cflags /EHsc /Zm500 /DWIN32_VC /DWIN32=1 $[WARNING_LEVEL_FLAG] $[END_CFLAGS]
+#defer extra_cflags /EHsc /Zm500 /DWIN32_LEAN_AND_MEAN /DWIN32_VC /DWIN32=1 $[WARNING_LEVEL_FLAG] $[END_CFLAGS]
 
 #if $[direct_tau]
 #define tau_ipath $[TAU_ROOT]/include

+ 1 - 1
dtool/pptempl/Global.msvc.pp

@@ -124,7 +124,7 @@
 #define obj_prefix
 
 // Additional global defines for building under Microsoft Visual Studio .NET.
-#define extra_defines FORCE_INLINING HAVE_DINKUM WIN32_VC WIN32
+#define extra_defines FORCE_INLINING HAVE_DINKUM WIN32_VC WIN32 WIN32_LEAN_AND_MEAN
 
 // Additional compiler flags.
 #defer extra_cflags /EHsc /Zm500 $[WARNING_LEVEL_FLAG] $[END_CFLAGS]