Mercurial > sdl-ios-xcode
diff src/video/SDL_sysvideo.h @ 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 | 19418e4422cb |
children | 5151662ab728 |
line wrap: on
line diff
--- a/src/video/SDL_sysvideo.h Tue Feb 21 08:34:45 2006 +0000 +++ b/src/video/SDL_sysvideo.h Tue Feb 21 08:46:50 2006 +0000 @@ -19,6 +19,7 @@ Sam Lantinga slouken@libsdl.org */ +#include "SDL_config.h" #ifndef _SDL_sysvideo_h #define _SDL_sysvideo_h @@ -32,17 +33,8 @@ This is designed to be easily converted to C++ in the future. */ -/* OpenGL is pretty much available on all Windows systems */ -#ifdef WIN32 -#include "SDL_windows.h" -#endif - #if SDL_VIDEO_OPENGL -#ifdef MACOSX -#include <OpenGL/gl.h> /* OpenGL.framework */ -#else -#include <GL/gl.h> -#endif /* MACOSX */ +#include "SDL_opengl.h" #endif /* SDL_VIDEO_OPENGL */ /* The SDL video driver */