From 2e3d26192f8166b9caf6282b0cf5e1dbe96c27d8 Mon Sep 17 00:00:00 2001 From: Lasse Laursen Date: Sat, 17 Jan 2015 10:06:40 +1100 Subject: [PATCH] glapi: fix compilation with latest MSVC https://bugzilla.gnome.org/show_bug.cgi?id=743041 --- gst-libs/gst/gl/gstglapi.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst-libs/gst/gl/gstglapi.h b/gst-libs/gst/gl/gstglapi.h index d3cc52219a..c260590479 100644 --- a/gst-libs/gst/gl/gstglapi.h +++ b/gst-libs/gst/gl/gstglapi.h @@ -76,7 +76,7 @@ # endif # else # include -# if __WIN32__ || _WIN32 +# if defined(__WIN32__) || defined(_WIN32) # include # endif # endif @@ -123,7 +123,7 @@ typedef enum #define GST_GL_EXT_BEGIN(name, gl_availability, min_gl, maj_gl, gles_maj, \ gles_min, ext_suf, ext_name) #define GST_GL_EXT_FUNCTION(ret, name, args) \ - ret GSTGLAPI (*name) args; + ret (GSTGLAPI *name) args; #define GST_GL_EXT_END() typedef struct _GstGLFuncs