Francois Gouget : d3dtypes: Fix windows.h inclusion.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Feb 13 07:03:27 CST 2006


Module: wine
Branch: refs/heads/master
Commit: c2f99c51986f81078b1e56c3d75e9a0a9ada124d
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=c2f99c51986f81078b1e56c3d75e9a0a9ada124d

Author: Francois Gouget <fgouget at free.fr>
Date:   Mon Feb 13 13:22:59 2006 +0100

d3dtypes: Fix windows.h inclusion.

---

 include/d3dtypes.h |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/include/d3dtypes.h b/include/d3dtypes.h
index 6670e71..36efec0 100644
--- a/include/d3dtypes.h
+++ b/include/d3dtypes.h
@@ -25,7 +25,9 @@
 #ifndef __WINE_D3DTYPES_H
 #define __WINE_D3DTYPES_H
 
-/* #include <windows.h> FIXME: Need to include for compatibility. Inclusion caused compile fail */
+#ifndef __WINESRC__
+# include <windows.h>
+#endif
 
 #include <float.h>
 #include <ddraw.h>




More information about the wine-cvs mailing list