From 9af1cee2f7e20fb551234652d23b936f61fa434c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Mon, 1 Jul 2013 01:36:35 +0400 Subject: [PATCH] [722/906] 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 both. Side-note: glext.h is not supplied by mingw-w64 at the moment, but can be downloaded from http://www.opengl.org/registry/ https://bugzilla.gnome.org/show_bug.cgi?id=703364 --- gst-libs/gst/gl/gstglapi.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index b9c0420367..ef0f45c323 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -40,7 +40,7 @@ # else # include # include -# if __WIN32__ +# if __WIN32__ || _WIN32 # include # endif # endif