From: José Fonseca Date: Tue, 24 Jun 2008 04:00:03 +0000 (+0900) Subject: mesa: WGL is not part of the WinCE API. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0b3d1b1ea44791068e8c3dc88549c798fb5e0ea8;p=mesa.git 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. --- 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 #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 #endif