From: José Fonseca <jrfonseca@tungstengraphics.com>
Date: Sat, 5 Jul 2008 06:18:01 +0000 (+0900)
Subject: Define WIN32_LEAN_AND_MEAN globally.
X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=1084dd6c24abe9a3521b15738e010c665acfd77f;p=apitrace

Define WIN32_LEAN_AND_MEAN globally.
---

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