aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-06-24 13:00:03 +0900
committerJosé Fonseca <[email protected]>2008-06-24 13:00:03 +0900
commit0b3d1b1ea44791068e8c3dc88549c798fb5e0ea8 (patch)
treebc337384df55d138ed64fb9bd435fbe410910ffa
parentb750b5326df0a067f9baf237bee50d31ca69729d (diff)
mesa: WGL is not part of the WinCE API.
Although it would be interesting having the GDI winsys running on WinCE several Windows GDI API functions and data structures are missing from WinCE headers, making this far from a trivial endeavor.
-rw-r--r--include/GL/gl.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/GL/gl.h b/include/GL/gl.h
index 09195aa1361..c0cebec2efa 100644
--- a/include/GL/gl.h
+++ b/include/GL/gl.h
@@ -88,8 +88,9 @@
#include <windows.h>
#endif
-#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_GNU_H_WINDOWS32_DEFINES) \
- && !defined(OPENSTEP) && !defined(__CYGWIN__) || defined(__MINGW32__)
+#if defined(_WIN32) && !defined(_WINGDI_) && !defined(_WIN32_WCE) \
+ && !defined(_GNU_H_WINDOWS32_DEFINES) && !defined(OPENSTEP) \
+ && !defined(__CYGWIN__) || defined(__MINGW32__)
#include <GL/mesa_wgl.h>
#endif