diff options
Diffstat (limited to 'src/render/opengl')
-rw-r--r-- | src/render/opengl/mgltypes.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/render/opengl/mgltypes.h b/src/render/opengl/mgltypes.h index 50d6c5073..dcd1290d1 100644 --- a/src/render/opengl/mgltypes.h +++ b/src/render/opengl/mgltypes.h @@ -50,11 +50,13 @@ #include "render/opengl/mgldefines.h" RENDER_OPENGL_MGLDEFINES_H +#ifndef USE_SDL2 #if defined(__GXX_EXPERIMENTAL_CXX0X__) #include <cstdint> -#else +#else // defined(__GXX_EXPERIMENTAL_CXX0X__) #include <stdint.h> -#endif +#endif // defined(__GXX_EXPERIMENTAL_CXX0X__) +#endif // USE_SDL2 typedef void (APIENTRY *glGenRenderbuffers_t)(GLsizei, GLuint *); typedef void (APIENTRY *glBindRenderbuffer_t)(GLenum target, |