From 67d2f9d6e7d249368fbb6ca5d689baee56bb671e Mon Sep 17 00:00:00 2001 From: David Rose Date: Tue, 28 Nov 2006 00:54:02 +0000 Subject: [PATCH] maybe we always want to be WIN32_LEAN_AND_MEAN --- dtool/pptempl/compilerSettings.pp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dtool/pptempl/compilerSettings.pp b/dtool/pptempl/compilerSettings.pp index 136e0470a6..b0cfb0cdf1 100644 --- a/dtool/pptempl/compilerSettings.pp +++ b/dtool/pptempl/compilerSettings.pp @@ -223,6 +223,9 @@ #define END_CFLAGS $[END_CFLAGS] /E #endif +// Let's just define this LEAN_AND_MEAN thing globally. +#define EXTRA_CDEFS WIN32_LEAN_AND_MEAN $[EXTRA_CDEFS] + #defer tau_opts $[decygwin %,-I"%",$[EXTRA_INCPATH] $[ipath] $[WIN32_PLATFORMSDK_INCPATH] $[tau_ipath]] $[building_var:%=-D%] #defer TAU_MAKE_IL $[PDT_ROOT]/Windows/bin/edgcpfe -o $[il_source] $[tau_opts] $[cdefines:%=-D%] $[C++FLAGS] -DWIN32=1 $[TAU_INSTRUMENTOR_FLAGS] $[source] #defer TAU_MAKE_PDB $[PDT_ROOT]/Windows/bin/taucpdisp $[il_source] > $[pdb_source]