Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
WinRT: made SDL_Log output to Visual C++'s debug console (via existin…
Browse files Browse the repository at this point in the history
…g Win32 code in SDL)
  • Loading branch information
DavidLudwig committed Oct 28, 2012
1 parent ab414ce commit c9fb035
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/SDL_log.c
Expand Up @@ -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>
Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit c9fb035

Please sign in to comment.