src/SDL_log.c
changeset 8325 33cbbdd796ec
parent 6138 4c64952a58fb
child 8337 4a67a3cca43d
--- a/src/SDL_log.c	Sat Oct 27 22:03:31 2012 -0400
+++ b/src/SDL_log.c	Sat Oct 27 22:15:54 2012 -0400
@@ -28,7 +28,7 @@
 #include <stdio.h>
 #endif
 
-#if defined(__WIN32__)
+#if defined(__WIN32__) || defined(__WINRT__)
 #include "core/windows/SDL_windows.h"
 #elif defined(__ANDROID__)
 #include <android/log.h>
@@ -280,7 +280,7 @@
 SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
               const char *message)
 {
-#if defined(__WIN32__)
+#if defined(__WIN32__) || defined(__WINRT__)
     /* Way too many allocations here, urgh */
     {
         char *output;