WinRT: made SDL_Log output to Visual C++'s debug console (via existing Win32 code in SDL)
This commit is contained in:
parent
dafab5003b
commit
a7a2a0130a
1 changed files with 2 additions and 2 deletions
|
@ -28,7 +28,7 @@
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(__WIN32__)
|
#if defined(__WIN32__) || defined(__WINRT__)
|
||||||
#include "core/windows/SDL_windows.h"
|
#include "core/windows/SDL_windows.h"
|
||||||
#elif defined(__ANDROID__)
|
#elif defined(__ANDROID__)
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
|
@ -280,7 +280,7 @@ static void
|
||||||
SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
|
SDL_LogOutput(void *userdata, int category, SDL_LogPriority priority,
|
||||||
const char *message)
|
const char *message)
|
||||||
{
|
{
|
||||||
#if defined(__WIN32__)
|
#if defined(__WIN32__) || defined(__WINRT__)
|
||||||
/* Way too many allocations here, urgh */
|
/* Way too many allocations here, urgh */
|
||||||
{
|
{
|
||||||
char *output;
|
char *output;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue