From 6ef4e780274e1b7a4cec4d32733bbf497eeb4135 Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Mon, 21 Feb 2011 13:00:07 +0100 Subject: [PATCH] include: Make some include guards compatible with MS headers. This is for compatibility with mingw-w64. --- include/ddraw.h | 6 +++--- include/ddrawi.h | 6 +++--- include/ddstream.idl | 2 +- include/dinput.h | 6 +++--- include/dsound.h | 6 +++--- 5 files changed, 13 insertions(+), 13 deletions(-) diff --git a/include/ddraw.h b/include/ddraw.h index 88990f09817..3eef218adb1 100644 --- a/include/ddraw.h +++ b/include/ddraw.h @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef __WINE_DDRAW_H -#define __WINE_DDRAW_H +#ifndef __DDRAW_INCLUDED__ +#define __DDRAW_INCLUDED__ #define COM_NO_WINDOWS_H #include @@ -2678,4 +2678,4 @@ HRESULT WINAPI DirectDrawCreateClipper(DWORD,LPDIRECTDRAWCLIPPER*,IUnknown*); } /* extern "C" */ #endif /* defined(__cplusplus) */ -#endif /* __WINE_DDRAW_H */ +#endif /* __DDRAW_INCLUDED__ */ diff --git a/include/ddrawi.h b/include/ddrawi.h index 4e3c9e3b9e7..a695a1c124a 100644 --- a/include/ddrawi.h +++ b/include/ddrawi.h @@ -19,8 +19,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef __WINE_DDRAWI_H -#define __WINE_DDRAWI_H +#ifndef __DDRAWI_INCLUDED__ +#define __DDRAWI_INCLUDED__ #include #include /* the DD HAL is layered onto DCI escapes */ @@ -1067,4 +1067,4 @@ typedef struct _DDRAWI_DDRAWPALETTE_LCL { } /* extern "C" */ #endif -#endif /* __WINE_DDRAWI_H */ +#endif /* __DDRAWI_INCLUDED__ */ diff --git a/include/ddstream.idl b/include/ddstream.idl index 947e2bcde4f..e2ad4667f43 100644 --- a/include/ddstream.idl +++ b/include/ddstream.idl @@ -19,7 +19,7 @@ import "unknwn.idl"; import "mmstream.idl"; -cpp_quote("#ifndef __WINE_DDRAW_H") +cpp_quote("#ifndef __DDRAW_INCLUDED__") typedef void * LPDDSURFACEDESC; typedef struct tDDSURFACEDESC DDSURFACEDESC; interface IDirectDraw; diff --git a/include/dinput.h b/include/dinput.h index ac3aabaa912..c52a1b77580 100644 --- a/include/dinput.h +++ b/include/dinput.h @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef __WINE_DINPUT_H -#define __WINE_DINPUT_H +#ifndef __DINPUT_INCLUDED__ +#define __DINPUT_INCLUDED__ #define COM_NO_WINDOWS_H #include @@ -2298,4 +2298,4 @@ HRESULT WINAPI DirectInputCreateEx(HINSTANCE,DWORD,REFIID,LPVOID *,LPUNKNOWN); }; #endif -#endif /* __WINE_DINPUT_H */ +#endif /* __DINPUT_INCLUDED__ */ diff --git a/include/dsound.h b/include/dsound.h index dc1ead3e975..372fabf1060 100644 --- a/include/dsound.h +++ b/include/dsound.h @@ -16,8 +16,8 @@ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA */ -#ifndef __WINE_DSOUND_H -#define __WINE_DSOUND_H +#ifndef __DSOUND_INCLUDED__ +#define __DSOUND_INCLUDED__ #ifndef DIRECTSOUND_VERSION #define DIRECTSOUND_VERSION 0x0900 @@ -1194,4 +1194,4 @@ DECLARE_INTERFACE_(IDirectSoundFullDuplex,IUnknown) } /* extern "C" */ #endif /* defined(__cplusplus) */ -#endif /* __WINE_DSOUND_H */ +#endif /* __DSOUND_INCLUDED__ */