projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a7499b7
)
egl: WinCE doesn't have sys/types.h
author
José Fonseca
<jrfonseca@tungstengraphics.com>
Sat, 28 Jun 2008 11:40:44 +0000
(20:40 +0900)
committer
José Fonseca
<jrfonseca@tungstengraphics.com>
Sat, 28 Jun 2008 11:40:44 +0000
(20:40 +0900)
include/EGL/eglplatform.h
patch
|
blob
|
history
diff --git
a/include/EGL/eglplatform.h
b/include/EGL/eglplatform.h
index 6a67a3d29ff1780b9f9ee6ab981e8a935b01ca1b..ab3b7398ca740999c715f55414c7f532fe37cb1e 100644
(file)
--- a/
include/EGL/eglplatform.h
+++ b/
include/EGL/eglplatform.h
@@
-8,12
+8,14
@@
/* Windows calling convention boilerplate */
#if (defined(WIN32) || defined(_WIN32_WCE))
#ifndef WIN32_LEAN_AND_MEAN
-#define WIN32_LEAN_AND_MEAN /
/ Exclude rarely-used stuff from Windows headers
+#define WIN32_LEAN_AND_MEAN /
* Exclude rarely-used stuff from Windows headers */
#endif
#include <windows.h>
#endif
+#if !defined(_WIN32_WCE)
#include <sys/types.h>
+#endif
/* Macros used in EGL function prototype declarations.
*