summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorjacob1 <jfu614@gmail.com>2013-06-22 13:36:10 (GMT)
committer jacob1 <jfu614@gmail.com>2013-06-22 13:36:50 (GMT)
commit60b1bf50667a3c631a80579d7e45bc822c20f0eb (patch)
tree7ea88636eb8da985c9cbc7404fae1690c807d7d9 /src
parent66f250b29deb6eaf3c5e6605574af474bdda943e (diff)
downloadpowder-60b1bf50667a3c631a80579d7e45bc822c20f0eb.zip
powder-60b1bf50667a3c631a80579d7e45bc822c20f0eb.tar.gz
forgot to push this commit, SDL should only be included in 1 type of way
Diffstat (limited to 'src')
-rw-r--r--src/PowderToySDL.cpp2
-rw-r--r--src/gui/interface/Keys.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp
index 618fdec..f49ed55 100644
--- a/src/PowderToySDL.cpp
+++ b/src/PowderToySDL.cpp
@@ -5,7 +5,7 @@
#include <time.h>
#include "SDL.h"
#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 <direct.h>
#endif
diff --git a/src/gui/interface/Keys.h b/src/gui/interface/Keys.h
index cd265f9..424dd86 100644
--- a/src/gui/interface/Keys.h
+++ b/src/gui/interface/Keys.h
@@ -1,6 +1,6 @@
#if defined(USE_SDL)
-#include "SDL/SDL.h"
+#include "SDL.h"
#define KEY_UP SDLK_UP
#define KEY_DOWN SDLK_DOWN
#define KEY_RIGHT SDLK_RIGHT