src/video/x11/SDL_x11gl.c
changeset 1402 d910939febfa
parent 1379 c0a74f199ecf
child 1575 3ba88cb7eb1b
     1.1 --- a/src/video/x11/SDL_x11gl.c	Tue Feb 21 08:34:45 2006 +0000
     1.2 +++ b/src/video/x11/SDL_x11gl.c	Tue Feb 21 08:46:50 2006 +0000
     1.3 @@ -19,17 +19,20 @@
     1.4      Sam Lantinga
     1.5      slouken@libsdl.org
     1.6  */
     1.7 +#include "SDL_config.h"
     1.8  
     1.9  #include "SDL_x11video.h"
    1.10  #include "../../events/SDL_events_c.h"
    1.11  #include "SDL_x11dga_c.h"
    1.12  #include "SDL_x11gl_c.h"
    1.13  
    1.14 -#if defined(sgi)
    1.15 +#if defined(__IRIX__)
    1.16  /* IRIX doesn't have a GL library versioning system */
    1.17  #define DEFAULT_OPENGL	"libGL.so"
    1.18 -#elif defined(MACOSX)
    1.19 +#elif defined(__MACOSX__)
    1.20  #define DEFAULT_OPENGL	"/usr/X11R6/lib/libGL.1.dylib"
    1.21 +#elif defined(__QNXNTO__)
    1.22 +#define DEFAULT_OPENGL	"libGL.so.3"
    1.23  #else
    1.24  #define DEFAULT_OPENGL	"libGL.so.1"
    1.25  #endif