comparison include/SDL_opengl.h @ 4922:ba79f17d68c1

Don't conflict with glext.h if it's already been included
author Sam Lantinga <slouken@libsdl.org>
date Wed, 01 Dec 2010 12:02:52 -0800
parents 242c805baf68
children 2add0d17180b
comparison
equal deleted inserted replaced
4921:40a43c6d9220 4922:ba79f17d68c1
35 #define WIN32_LEAN_AND_MEAN 35 #define WIN32_LEAN_AND_MEAN
36 #ifndef NOMINMAX 36 #ifndef NOMINMAX
37 #define NOMINMAX /* Don't defined min() and max() */ 37 #define NOMINMAX /* Don't defined min() and max() */
38 #endif 38 #endif
39 #include <windows.h> 39 #include <windows.h>
40 #endif
41 #ifdef __glext_h_
42 /* Someone has already included glext.h */
43 #define NO_SDL_GLEXT
40 #endif 44 #endif
41 #ifndef NO_SDL_GLEXT 45 #ifndef NO_SDL_GLEXT
42 #define __glext_h_ /* Don't let gl.h include glext.h */ 46 #define __glext_h_ /* Don't let gl.h include glext.h */
43 #endif 47 #endif
44 #if defined(__MACOSX__) 48 #if defined(__MACOSX__)