summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
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