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