comparison 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
comparison
equal deleted inserted replaced
1401:1819fd069e89 1402:d910939febfa
17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 17 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
18 18
19 Sam Lantinga 19 Sam Lantinga
20 slouken@libsdl.org 20 slouken@libsdl.org
21 */ 21 */
22 #include "SDL_config.h"
22 23
23 #include "SDL_x11video.h" 24 #include "SDL_x11video.h"
24 #include "../../events/SDL_events_c.h" 25 #include "../../events/SDL_events_c.h"
25 #include "SDL_x11dga_c.h" 26 #include "SDL_x11dga_c.h"
26 #include "SDL_x11gl_c.h" 27 #include "SDL_x11gl_c.h"
27 28
28 #if defined(sgi) 29 #if defined(__IRIX__)
29 /* IRIX doesn't have a GL library versioning system */ 30 /* IRIX doesn't have a GL library versioning system */
30 #define DEFAULT_OPENGL "libGL.so" 31 #define DEFAULT_OPENGL "libGL.so"
31 #elif defined(MACOSX) 32 #elif defined(__MACOSX__)
32 #define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib" 33 #define DEFAULT_OPENGL "/usr/X11R6/lib/libGL.1.dylib"
34 #elif defined(__QNXNTO__)
35 #define DEFAULT_OPENGL "libGL.so.3"
33 #else 36 #else
34 #define DEFAULT_OPENGL "libGL.so.1" 37 #define DEFAULT_OPENGL "libGL.so.1"
35 #endif 38 #endif
36 39
37 #ifndef GLX_ARB_multisample 40 #ifndef GLX_ARB_multisample