Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
6ef4e780
Commit
6ef4e780
authored
Feb 21, 2011
by
Jacek Caban
Committed by
Alexandre Julliard
Feb 21, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
include: Make some include guards compatible with MS headers.
This is for compatibility with mingw-w64.
parent
62c8c143
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
13 deletions
+13
-13
ddraw.h
include/ddraw.h
+3
-3
ddrawi.h
include/ddrawi.h
+3
-3
ddstream.idl
include/ddstream.idl
+1
-1
dinput.h
include/dinput.h
+3
-3
dsound.h
include/dsound.h
+3
-3
No files found.
include/ddraw.h
View file @
6ef4e780
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#ifndef __
WINE_DDRAW_H
#ifndef __
DDRAW_INCLUDED__
#define __
WINE_DDRAW_H
#define __
DDRAW_INCLUDED__
#define COM_NO_WINDOWS_H
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <objbase.h>
...
@@ -2678,4 +2678,4 @@ HRESULT WINAPI DirectDrawCreateClipper(DWORD,LPDIRECTDRAWCLIPPER*,IUnknown*);
...
@@ -2678,4 +2678,4 @@ HRESULT WINAPI DirectDrawCreateClipper(DWORD,LPDIRECTDRAWCLIPPER*,IUnknown*);
}
/* extern "C" */
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* defined(__cplusplus) */
#endif
/* __
WINE_DDRAW_H
*/
#endif
/* __
DDRAW_INCLUDED__
*/
include/ddrawi.h
View file @
6ef4e780
...
@@ -19,8 +19,8 @@
...
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#ifndef __
WINE_DDRAWI_H
#ifndef __
DDRAWI_INCLUDED__
#define __
WINE_DDRAWI_H
#define __
DDRAWI_INCLUDED__
#include <ddraw.h>
#include <ddraw.h>
#include <dciddi.h>
/* the DD HAL is layered onto DCI escapes */
#include <dciddi.h>
/* the DD HAL is layered onto DCI escapes */
...
@@ -1067,4 +1067,4 @@ typedef struct _DDRAWI_DDRAWPALETTE_LCL {
...
@@ -1067,4 +1067,4 @@ typedef struct _DDRAWI_DDRAWPALETTE_LCL {
}
/* extern "C" */
}
/* extern "C" */
#endif
#endif
#endif
/* __
WINE_DDRAWI_H
*/
#endif
/* __
DDRAWI_INCLUDED__
*/
include/ddstream.idl
View file @
6ef4e780
...
@@ -19,7 +19,7 @@
...
@@ -19,7 +19,7 @@
import
"unknwn.idl"
;
import
"unknwn.idl"
;
import
"mmstream.idl"
;
import
"mmstream.idl"
;
cpp_quote
(
"#ifndef __
WINE_DDRAW_H
"
)
cpp_quote
(
"#ifndef __
DDRAW_INCLUDED__
"
)
typedef
void
*
LPDDSURFACEDESC
;
typedef
void
*
LPDDSURFACEDESC
;
typedef
struct
tDDSURFACEDESC
DDSURFACEDESC
;
typedef
struct
tDDSURFACEDESC
DDSURFACEDESC
;
interface
IDirectDraw
;
interface
IDirectDraw
;
...
...
include/dinput.h
View file @
6ef4e780
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#ifndef __
WINE_DINPUT_H
#ifndef __
DINPUT_INCLUDED__
#define __
WINE_DINPUT_H
#define __
DINPUT_INCLUDED__
#define COM_NO_WINDOWS_H
#define COM_NO_WINDOWS_H
#include <objbase.h>
#include <objbase.h>
...
@@ -2298,4 +2298,4 @@ HRESULT WINAPI DirectInputCreateEx(HINSTANCE,DWORD,REFIID,LPVOID *,LPUNKNOWN);
...
@@ -2298,4 +2298,4 @@ HRESULT WINAPI DirectInputCreateEx(HINSTANCE,DWORD,REFIID,LPVOID *,LPUNKNOWN);
};
};
#endif
#endif
#endif
/* __
WINE_DINPUT_H
*/
#endif
/* __
DINPUT_INCLUDED__
*/
include/dsound.h
View file @
6ef4e780
...
@@ -16,8 +16,8 @@
...
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
*/
#ifndef __
WINE_DSOUND_H
#ifndef __
DSOUND_INCLUDED__
#define __
WINE_DSOUND_H
#define __
DSOUND_INCLUDED__
#ifndef DIRECTSOUND_VERSION
#ifndef DIRECTSOUND_VERSION
#define DIRECTSOUND_VERSION 0x0900
#define DIRECTSOUND_VERSION 0x0900
...
@@ -1194,4 +1194,4 @@ DECLARE_INTERFACE_(IDirectSoundFullDuplex,IUnknown)
...
@@ -1194,4 +1194,4 @@ DECLARE_INTERFACE_(IDirectSoundFullDuplex,IUnknown)
}
/* extern "C" */
}
/* extern "C" */
#endif
/* defined(__cplusplus) */
#endif
/* defined(__cplusplus) */
#endif
/* __
WINE_DSOUND_H
*/
#endif
/* __
DSOUND_INCLUDED__
*/
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment