Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

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
  • Loading branch information
slouken committed May 22, 2013
1 parent f46c4b1 commit 03281c718e2106e1f72dbd4334a069c69bd9609d
Showing with 0 additions and 4 deletions.
  1. +0 −4 include/SDL_opengl.h
@@ -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

0 comments on commit 03281c7

Please sign in to comment.