Commit 6688acce authored by Francois Gouget's avatar Francois Gouget Committed by Alexandre Julliard

include: Some DirectX headers are supposed to define COM_NO_WINDOWS_H.

parent ff64e096
...@@ -20,6 +20,8 @@ ...@@ -20,6 +20,8 @@
#define __WINE_D3D_H #define __WINE_D3D_H
#include <stdlib.h> #include <stdlib.h>
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <d3dtypes.h> /* must precede d3dcaps.h */ #include <d3dtypes.h> /* must precede d3dcaps.h */
#include <d3dcaps.h> #include <d3dcaps.h>
......
...@@ -23,6 +23,7 @@ ...@@ -23,6 +23,7 @@
#define DIRECT3D_VERSION 0x0800 #define DIRECT3D_VERSION 0x0800
#endif #endif
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <d3d8types.h> #include <d3d8types.h>
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#define DIRECT3D_VERSION 0x0900 #define DIRECT3D_VERSION 0x0900
#endif #endif
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <d3d9types.h> #include <d3d9types.h>
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#ifndef __WINE_DDRAW_H #ifndef __WINE_DDRAW_H
#define __WINE_DDRAW_H #define __WINE_DDRAW_H
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#ifdef __cplusplus #ifdef __cplusplus
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
#ifndef __WINE_DINPUT_H #ifndef __WINE_DINPUT_H
#define __WINE_DINPUT_H #define __WINE_DINPUT_H
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#ifndef DIRECTINPUT_VERSION #ifndef DIRECTINPUT_VERSION
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <windows.h> #include <windows.h>
#endif /* __WINESRC__ */ #endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <mmsystem.h> #include <mmsystem.h>
#include <dmusici.h> #include <dmusici.h>
......
...@@ -24,6 +24,7 @@ ...@@ -24,6 +24,7 @@
#include <windows.h> #include <windows.h>
#endif /* __WINESRC__ */ #endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <mmsystem.h> #include <mmsystem.h>
......
...@@ -25,6 +25,7 @@ ...@@ -25,6 +25,7 @@
#include <windows.h> #include <windows.h>
#endif /* __WINESRC__ */ #endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <mmsystem.h> #include <mmsystem.h>
#include <pshpack8.h> #include <pshpack8.h>
......
...@@ -27,6 +27,7 @@ ...@@ -27,6 +27,7 @@
#include <oleauto.h> /* VARIANT */ #include <oleauto.h> /* VARIANT */
#endif /* __WINESRC__ */ #endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h> #include <objbase.h>
#include <mmsystem.h> #include <mmsystem.h>
#include <dmusicc.h> #include <dmusicc.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment