From 60b1bf50667a3c631a80579d7e45bc822c20f0eb Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 22 Jun 2013 09:36:10 -0400 Subject: [PATCH] forgot to push this commit, SDL should only be included in 1 type of way --- src/PowderToySDL.cpp | 2 +- src/gui/interface/Keys.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/PowderToySDL.cpp b/src/PowderToySDL.cpp index 618fdec88..f49ed55a0 100644 --- a/src/PowderToySDL.cpp +++ b/src/PowderToySDL.cpp @@ -5,7 +5,7 @@ #include #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 #endif diff --git a/src/gui/interface/Keys.h b/src/gui/interface/Keys.h index cd265f93e..424dd86b5 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