Fixed compiler warnings on Haiku.
authorRyan C. Gordon <icculus@icculus.org>
Sun, 18 Sep 2011 03:52:08 +0000
changeset 5958 e1624f3b29b5
parent 5957 9a2b091abb2c
child 5959 d773f75cea1a
Fixed compiler warnings on Haiku.
include/SDL_opengl.h
--- a/include/SDL_opengl.h	Sun Sep 18 03:19:41 2011 -0400
+++ b/include/SDL_opengl.h	Sun Sep 18 03:52:08 2011 +0000
@@ -37,6 +37,11 @@
 #endif
 #include <windows.h>
 #endif
+
+#ifdef __HAIKU__  /* !!! FIXME: temp compiler warning fix... */
+#define NO_SDL_GLEXT 1
+#endif
+
 #ifdef __glext_h_
 /* Someone has already included glext.h */
 #define NO_SDL_GLEXT