From c9fb035bf83ed45e25327a827def3fa089aa948d Mon Sep 17 00:00:00 2001 From: David Ludwig Date: Sat, 27 Oct 2012 22:15:54 -0400 Subject: [PATCH] WinRT: made SDL_Log output to Visual C++'s debug console (via existing Win32 code in SDL) --- src/SDL_log.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDL_log.c b/src/SDL_log.c index d38be9f93..d7f99180d 100644 --- a/src/SDL_log.c +++ b/src/SDL_log.c @@ -28,7 +28,7 @@ #include #endif -#if defined(__WIN32__) +#if defined(__WIN32__) || defined(__WINRT__) #include "core/windows/SDL_windows.h" #elif defined(__ANDROID__) #include @@ -280,7 +280,7 @@ static void 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;