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
This commit is contained in:
parent
a106589b14
commit
9e842c74c1
1 changed files with 0 additions and 4 deletions
|
@ -40,10 +40,6 @@
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __HAIKU__ /* !!! FIXME: temp compiler warning fix... */
|
|
||||||
#define NO_SDL_GLEXT 1
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef __glext_h_
|
#ifdef __glext_h_
|
||||||
/* Someone has already included glext.h */
|
/* Someone has already included glext.h */
|
||||||
#define NO_SDL_GLEXT
|
#define NO_SDL_GLEXT
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue