GNOME Bugzilla – Bug 703364
Misdetected W32
Last modified: 2013-07-01 08:23:28 UTC
__WIN32__ is only defined by Borland compilers[1], everyone else uses _WIN32. [1] http://www.mail-archive.com/bug-gnulib@gnu.org/msg05722.html
Created attachment 248107 [details] [review] W32 fixes. Also, glext.h needs to be included in the examples too.
commit b317a80620fd5155564f57fbe1ceee3c8d9b6d1a Author: Руслан Ижбулатов <lrn1986@gmail.com> Date: Mon Jul 1 01:36:35 2013 +0400 gl: Fix build on Win32 1) Need to include GL/glext.h on W32 to provide necessary macros 2) W32 macros that pre-processor has by default are different for different toolchains. Borland uses __WIN32__, everyone else has _WIN32, so check bo Side-note: glext.h is not supplied by mingw-w64 at the moment, but can be downloaded from http://www.opengl.org/registry/