Browse Source

WinRT: build fixes, post SDL 2.0.1 update

David Ludwig 11 years ago
parent
commit
1704af5b02
2 changed files with 2 additions and 2 deletions
  1. 1 1
      src/SDL_log.c
  2. 1 1
      src/atomic/SDL_spinlock.c

+ 1 - 1
src/SDL_log.c

@@ -20,7 +20,7 @@
 */
 #include "SDL_config.h"
 
-#if defined(__WIN32__)
+#if defined(__WIN32__) || defined(__WINRT__)
 #include "core/windows/SDL_windows.h"
 #endif
 

+ 1 - 1
src/atomic/SDL_spinlock.c

@@ -20,7 +20,7 @@
 */
 #include "SDL_config.h"
 
-#ifdef __WIN32__
+#if defined(__WIN32__) || defined(__WINRT__)
 #include "../core/windows/SDL_windows.h"
 #endif