mesa: WGL is not part of the WinCE API.
authorJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 24 Jun 2008 04:00:03 +0000 (13:00 +0900)
committerJosé Fonseca <jrfonseca@tungstengraphics.com>
Tue, 24 Jun 2008 04:00:03 +0000 (13:00 +0900)
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.

include/GL/gl.h

index 09195aa136108ca1859a3aa3e30ab26af64127bf..c0cebec2efac3d7dc30d8bbff5504e89864df465 100644 (file)
@@ -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