include: Make some include guards compatible with MS headers.
This is for compatibility with mingw-w64.
This commit is contained in:
parent
62c8c143c4
commit
6ef4e78027
|
@ -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 <objbase.h>
|
||||
|
@ -2678,4 +2678,4 @@ HRESULT WINAPI DirectDrawCreateClipper(DWORD,LPDIRECTDRAWCLIPPER*,IUnknown*);
|
|||
} /* extern "C" */
|
||||
#endif /* defined(__cplusplus) */
|
||||
|
||||
#endif /* __WINE_DDRAW_H */
|
||||
#endif /* __DDRAW_INCLUDED__ */
|
||||
|
|
|
@ -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 <ddraw.h>
|
||||
#include <dciddi.h> /* 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__ */
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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 <objbase.h>
|
||||
|
@ -2298,4 +2298,4 @@ HRESULT WINAPI DirectInputCreateEx(HINSTANCE,DWORD,REFIID,LPVOID *,LPUNKNOWN);
|
|||
};
|
||||
#endif
|
||||
|
||||
#endif /* __WINE_DINPUT_H */
|
||||
#endif /* __DINPUT_INCLUDED__ */
|
||||
|
|
|
@ -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__ */
|
||||
|
|
Loading…
Reference in New Issue