Commit 1704af5b02b7933c2e9ee8c828141fe116720c13

David Ludwig 2013-10-27T23:03:11

WinRT: build fixes, post SDL 2.0.1 update

diff --git a/src/SDL_log.c b/src/SDL_log.c
index 4ad5c42..bc9f954 100644
--- a/src/SDL_log.c
+++ b/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
 
diff --git a/src/atomic/SDL_spinlock.c b/src/atomic/SDL_spinlock.c
index ac9b61e..ac78729 100644
--- a/src/atomic/SDL_spinlock.c
+++ b/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