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 @@
#define __WINE_D3D_H
#include <stdlib.h>
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <d3dtypes.h> /* must precede d3dcaps.h */
#include <d3dcaps.h>
......
......@@ -23,6 +23,7 @@
#define DIRECT3D_VERSION 0x0800
#endif
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <d3d8types.h>
......
......@@ -24,6 +24,7 @@
#define DIRECT3D_VERSION 0x0900
#endif
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <d3d9types.h>
......
......@@ -19,6 +19,7 @@
#ifndef __WINE_DDRAW_H
#define __WINE_DDRAW_H
#define COM_NO_WINDOWS_H
#include <objbase.h>
#ifdef __cplusplus
......
......@@ -19,6 +19,7 @@
#ifndef __WINE_DINPUT_H
#define __WINE_DINPUT_H
#define COM_NO_WINDOWS_H
#include <objbase.h>
#ifndef DIRECTINPUT_VERSION
......
......@@ -25,6 +25,7 @@
#include <windows.h>
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>
#include <dmusici.h>
......
......@@ -24,6 +24,7 @@
#include <windows.h>
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>
......
......@@ -25,6 +25,7 @@
#include <windows.h>
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.h>
#include <pshpack8.h>
......
......@@ -27,6 +27,7 @@
#include <oleauto.h> /* VARIANT */
#endif /* __WINESRC__ */
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <mmsystem.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