use SDL logging on iOS too
This commit is contained in:
parent
51d6a1d90f
commit
94878b77b6
|
@ -3,8 +3,9 @@
|
|||
#include <stdarg.h>
|
||||
#include <stdio.h>
|
||||
|
||||
#ifdef __ANDROID__
|
||||
#if defined(__ANDROID__) || defined(TARGET_OS_IPHONE)
|
||||
// forward to SDL logging on Android, since stdout/stderr are /dev/null
|
||||
// they exist on iOS, but just get forwarded to the system log anyway, so might as well provide proper metadata
|
||||
#define VLOG_USE_SDL 1
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue