forgot to push this commit, SDL should only be included in 1 type of way
This commit is contained in:
parent
66f250b29d
commit
60b1bf5066
@ -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
|
||||||
|
@ -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
|
||||||
|
Reference in New Issue
Block a user