egl: WinCE doesn't have sys/types.h
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 28 Jun 2008 11:40:44 +0000 (20:40 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Sat, 28 Jun 2008 11:40:44 +0000 (20:40 +0900)
include/EGL/eglplatform.h

index 6a67a3d29ff1780b9f9ee6ab981e8a935b01ca1b..ab3b7398ca740999c715f55414c7f532fe37cb1e 100644 (file)
@@ -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.
  *