From 60b1bf50667a3c631a80579d7e45bc822c20f0eb Mon Sep 17 00:00:00 2001 From: jacob1 Date: Sat, 22 Jun 2013 09:36:10 -0400 Subject: forgot to push this commit, SDL should only be included in 1 type of way 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 #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 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 -- cgit v0.9.2-21-gd62e