WinRT: build fixes, post SDL 2.0.1 update
authorDavid Ludwig <dludwig@pobox.com>
Sun, 27 Oct 2013 23:03:11 -0400
changeset 8536 a2be4a225f91
parent 8535 e8ee0708ef5c
child 8537 ea81cf5b6252
WinRT: build fixes, post SDL 2.0.1 update
src/SDL_log.c
src/atomic/SDL_spinlock.c
--- a/src/SDL_log.c	Sun Oct 27 21:26:46 2013 -0400
+++ b/src/SDL_log.c	Sun Oct 27 23:03:11 2013 -0400
@@ -20,7 +20,7 @@
 */
 #include "SDL_config.h"
 
-#if defined(__WIN32__)
+#if defined(__WIN32__) || defined(__WINRT__)
 #include "core/windows/SDL_windows.h"
 #endif
 
--- a/src/atomic/SDL_spinlock.c	Sun Oct 27 21:26:46 2013 -0400
+++ b/src/atomic/SDL_spinlock.c	Sun Oct 27 23:03:11 2013 -0400
@@ -20,7 +20,7 @@
 */
 #include "SDL_config.h"
 
-#ifdef __WIN32__
+#if defined(__WIN32__) || defined(__WINRT__)
 #include "../core/windows/SDL_windows.h"
 #endif