summaryrefslogtreecommitdiffstats
path: root/make/stub_includes/win32/windows.h
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2015-03-06 09:42:13 +0100
committerSven Gothel <[email protected]>2015-03-06 09:42:13 +0100
commit0674a3678d747335ad36f0f57e3bdc9c168f0dcf (patch)
treea6841c14fc41ca14586f684136fe792362094195 /make/stub_includes/win32/windows.h
parenta554616fae30facd7574679b5c8b244757b7ccd9 (diff)
Bug 1135 - Fix other GL header and windows-system header
- GL/gl.h: remove added gl-types.h include, which causes 'redefined' warnings or errors. - GLES/glext.h: Use vanilla 'typedef void* GLeglImageOES' - opengl/gl-types.h: Complete all GL types - Fix windows.h and all its related header
Diffstat (limited to 'make/stub_includes/win32/windows.h')
-rw-r--r--make/stub_includes/win32/windows.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/make/stub_includes/win32/windows.h b/make/stub_includes/win32/windows.h
index f7b141e31..9958e6d3a 100644
--- a/make/stub_includes/win32/windows.h
+++ b/make/stub_includes/win32/windows.h
@@ -1,6 +1,9 @@
/* Windows #defines and typedefs required for processing of extracts
from WINGDI.H and jawt_md.h */
+#ifndef _WINDOWS_
+#define _WINDOWS_
+
#define FAR
#define WINBASEAPI
#define WINGDIAPI
@@ -50,3 +53,4 @@ typedef HANDLE HVIDEOOUTPUTDEVICENV;
typedef HANDLE HVIDEOINPUTDEVICENV;
typedef HANDLE HPVIDEODEV;
+#endif /* _WINDOWS_ */