From 2c6df55a9430612f3d0e6f0c4bedaa7752e4bd20 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 26 Aug 2013 20:05:52 +0300 Subject: fix compilation warnings with sdl2. --- src/mgl.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/mgl.h') diff --git a/src/mgl.h b/src/mgl.h index d6165dc0d..335ee48f1 100644 --- a/src/mgl.h +++ b/src/mgl.h @@ -29,7 +29,9 @@ #include #define APIENTRY GL_APIENTRY #else +#ifndef USE_SDL2 #define GL_GLEXT_PROTOTYPES 1 +#endif #include #include #endif -- cgit v1.2.3-70-g09d2