* Compile time and runtime checks for SDL >= 1.2.7

* Modified versioning to play nice with the reverted Makefile change
This commit is contained in:
Tim Angus committed 2007-09-06 18:21:10 +00:00
1 parent d5e9f1216e
commit e56a151a97
4 files changed
+58 -15

No files matched your search

+7
View File
@@ -22,6 +22,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#include "SDL.h"
#if !SDL_VERSION_ATLEAST(1, 2, 10)
#define SDL_GL_ACCELERATED_VISUAL 15
#define SDL_GL_SWAP_CONTROL 16
#elif MINSDL_PATCH >= 10
#error Code block no longer necessary, please remove
#endif
#ifdef SMP
#include "SDL_thread.h"
#endif