forgot to push this commit, SDL should only be included in 1 type of way

This commit is contained in:
jacob1 2013-06-22 09:36:10 -04:00
parent 66f250b29d
commit 60b1bf5066
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
#include <time.h> #include <time.h>
#include "SDL.h" #include "SDL.h"
#ifdef WIN #ifdef WIN
#define _WIN32_WINNT 0x0501 //Necessary for some macros and functions #define _WIN32_WINNT 0x0501 //Necessary for some macros and functions, tells windows.h to include functions only available in Windows XP or later
#include "SDL_syswm.h" #include "SDL_syswm.h"
#include <direct.h> #include <direct.h>
#endif #endif

View File

@ -1,6 +1,6 @@
#if defined(USE_SDL) #if defined(USE_SDL)
#include "SDL/SDL.h" #include "SDL.h"
#define KEY_UP SDLK_UP #define KEY_UP SDLK_UP
#define KEY_DOWN SDLK_DOWN #define KEY_DOWN SDLK_DOWN
#define KEY_RIGHT SDLK_RIGHT #define KEY_RIGHT SDLK_RIGHT