diff src/video/x11/SDL_x11gl.c @ 1402:d910939febfa

Use consistent identifiers for the various platforms we support. Make sure every source file includes SDL_config.h, so the proper system headers are chosen.
author Sam Lantinga <slouken@libsdl.org>
date Tue, 21 Feb 2006 08:46:50 +0000
parents c0a74f199ecf
children 3ba88cb7eb1b
line wrap: on
line diff
--- a/src/video/x11/SDL_x11gl.c	Tue Feb 21 08:34:45 2006 +0000
+++ b/src/video/x11/SDL_x11gl.c	Tue Feb 21 08:46:50 2006 +0000
@@ -19,17 +19,20 @@
     Sam Lantinga
     slouken@libsdl.org
 */
+#include "SDL_config.h"
 
 #include "SDL_x11video.h"
 #include "../../events/SDL_events_c.h"
 #include "SDL_x11dga_c.h"
 #include "SDL_x11gl_c.h"
 
-#if defined(sgi)
+#if defined(__IRIX__)
 /* IRIX doesn't have a GL library versioning system */
 #define DEFAULT_OPENGL	"libGL.so"
-#elif defined(MACOSX)
+#elif defined(__MACOSX__)
 #define DEFAULT_OPENGL	"/usr/X11R6/lib/libGL.1.dylib"
+#elif defined(__QNXNTO__)
+#define DEFAULT_OPENGL	"libGL.so.3"
 #else
 #define DEFAULT_OPENGL	"libGL.so.1"
 #endif