diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-06-15 19:00:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-06-15 19:00:59 +0300 |
commit | 39e19833f3cdb67b53544f3a8787628e484a50ef (patch) | |
tree | 20758d2591927e2147d343cf44b8ef39cd8045c5 /src/render/opengl | |
parent | 5273b0bc8dcc2adbf8557a4008c63e50955884fe (diff) | |
download | plus-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.gz plus-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.bz2 plus-39e19833f3cdb67b53544f3a8787628e484a50ef.tar.xz plus-39e19833f3cdb67b53544f3a8787628e484a50ef.zip |
Fix other include issues.
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, |