diff options
Diffstat (limited to 'make/stub_includes/opengl/GL3/glplatform.h')
-rw-r--r-- | make/stub_includes/opengl/GL3/glplatform.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/make/stub_includes/opengl/GL3/glplatform.h b/make/stub_includes/opengl/GL3/glplatform.h index d1ffba5fa..958d95cb1 100644 --- a/make/stub_includes/opengl/GL3/glplatform.h +++ b/make/stub_includes/opengl/GL3/glplatform.h @@ -20,7 +20,9 @@ # define APIENTRY __stdcall #else /* non-Windows compilation */ -# define GLAPI extern +# ifndef GLAPI +# define GLAPI extern +# endif # define APIENTRY #endif /* WIN32 / CYGWIN bracket */ |