diff options
Diffstat (limited to 'make/stub_includes/opengl/GL')
-rw-r--r-- | make/stub_includes/opengl/GL/gl-platform.h | 1 | ||||
-rw-r--r-- | make/stub_includes/opengl/GL/gl.h | 1 | ||||
-rw-r--r-- | make/stub_includes/opengl/GL/glcorearbext.h | 10 |
3 files changed, 10 insertions, 2 deletions
diff --git a/make/stub_includes/opengl/GL/gl-platform.h b/make/stub_includes/opengl/GL/gl-platform.h index d07fd92ce..d55410b0a 100644 --- a/make/stub_includes/opengl/GL/gl-platform.h +++ b/make/stub_includes/opengl/GL/gl-platform.h @@ -49,6 +49,7 @@ #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__) #define WIN32_LEAN_AND_MEAN 1 #include <windows.h> +#undef WIN32_LEAN_AND_MEAN #endif /** diff --git a/make/stub_includes/opengl/GL/gl.h b/make/stub_includes/opengl/GL/gl.h index f6cfc7920..56812a531 100644 --- a/make/stub_includes/opengl/GL/gl.h +++ b/make/stub_includes/opengl/GL/gl.h @@ -35,7 +35,6 @@ /* Function declaration macros - to move into gl-platform.h */ #include "gl-platform.h" -#include "gl-types.h" #ifdef __cplusplus extern "C" { diff --git a/make/stub_includes/opengl/GL/glcorearbext.h b/make/stub_includes/opengl/GL/glcorearbext.h index 8fab1ddee..31df636ad 100644 --- a/make/stub_includes/opengl/GL/glcorearbext.h +++ b/make/stub_includes/opengl/GL/glcorearbext.h @@ -1,6 +1,10 @@ #ifndef __glcorearbext_h_ #define __glcorearbext_h_ 1 +#ifdef __cplusplus +extern "C" { +#endif + /* ** Copyright (c) 2010 JogAmp Developer Team ** @@ -26,7 +30,7 @@ /** * This header files contains additional extensions not covered by the - * 'official' khronos glcorearbext.h + * 'official' khronos glcorearb.h */ /* @@ -347,5 +351,9 @@ GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value); /* No need for explicit function pointer: we force generation of ProcAddress .. */ #endif +#ifdef __cplusplus +} +#endif + #endif /* __glcorearbext_h_ */ |