Define WIN32_LEAN_AND_MEAN globally.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 5 Jul 2008 06:18:01 +0000 (15:18 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 5 Jul 2008 06:18:01 +0000 (15:18 +0900)
SConstruct
d3d8/stdafx.h
d3d9/stdafx.h

index aeeb3f6..9313f4b 100644 (file)
@@ -39,6 +39,7 @@ env.Append(CPPDEFINES = [
     'UNICODE',
     '_CRT_SECURE_NO_DEPRECATE',
     '_CRT_NON_CONFORMING_SWPRINTFS',
+    'WIN32_LEAN_AND_MEAN',
 ])
 
 if env['debug']:
index f2662ee..b0ddaea 100644 (file)
@@ -2,7 +2,6 @@
 #pragma once
 
 
-#define WIN32_LEAN_AND_MEAN            
 #include <windows.h>
 #include <tchar.h>
 
index 197d021..610cc9d 100644 (file)
@@ -1,7 +1,6 @@
 // stdafx.h 
 #pragma once
 
-#define WIN32_LEAN_AND_MEAN            
 #include <windows.h>
 #include <tchar.h>