From 9e842c74c1e1fcbf02725dc7701525bdae7bdc59 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Tue, 21 May 2013 22:48:50 -0700 Subject: [PATCH] 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 | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/SDL_opengl.h b/include/SDL_opengl.h index fecaca0c2..2f120aa95 100644 --- a/include/SDL_opengl.h +++ b/include/SDL_opengl.h @@ -40,10 +40,6 @@ #include #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