src/SDL.c
changeset 7828 1451063c8ecd
parent 7810 ab1b92bf0327
child 7843 9e7a3c4b7267
     1.1 --- a/src/SDL.c	Fri Oct 18 01:36:41 2013 -0400
     1.2 +++ b/src/SDL.c	Thu Oct 17 23:02:29 2013 -0700
     1.3 @@ -20,6 +20,10 @@
     1.4  */
     1.5  #include "SDL_config.h"
     1.6  
     1.7 +#if defined(__WIN32__)
     1.8 +#include "core/windows/SDL_windows.h"
     1.9 +#endif
    1.10 +
    1.11  /* Initialization code for SDL */
    1.12  
    1.13  #include "SDL.h"
    1.14 @@ -443,7 +447,6 @@
    1.15  
    1.16  #if !defined(HAVE_LIBC) || (defined(__WATCOMC__) && defined(BUILD_DLL))
    1.17  /* Need to include DllMain() on Watcom C for some reason.. */
    1.18 -#include "core/windows/SDL_windows.h"
    1.19  
    1.20  BOOL APIENTRY
    1.21  _DllMainCRTStartup(HANDLE hModule,