glapi: fix compilation with latest MSVC

https://bugzilla.gnome.org/show_bug.cgi?id=743041
This commit is contained in:
Lasse Laursen 2015-01-17 10:06:40 +11:00 committed by Tim-Philipp Müller
parent e3d3049641
commit 2e3d26192f

View file

@ -76,7 +76,7 @@
# endif
# else
# include <GL/gl.h>
# if __WIN32__ || _WIN32
# if defined(__WIN32__) || defined(_WIN32)
# include <GL/glext.h>
# 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