Fixed Haiku build issue with missing extension support.
authorSam Lantinga <slouken@libsdl.org>
Tue, 21 May 2013 22:48:50 -0700
changeset 7213 53df899db00b
parent 7212 81b0d4773d47
child 7214 5b31583ecf9e
Fixed Haiku build issue with missing extension support. The visibility attribute warnings in Haiku gl.h can be fixed by editing gl.h and changing the line: #elif defined(__GNUC__) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) to #elif (defined(__GNUC__) && __GNUC__ >= 4) || (defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)) as described in: http://dev.haiku-os.org/ticket/8882
include/SDL_opengl.h
--- a/include/SDL_opengl.h	Wed May 22 01:36:37 2013 -0400
+++ b/include/SDL_opengl.h	Tue May 21 22:48:50 2013 -0700
@@ -40,10 +40,6 @@
 #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