1
0
mirror of https://github.com/TerryCavanagh/VVVVVV.git synced 2024-06-02 19:13:31 +02:00

use SDL logging on iOS too

This commit is contained in:
leo60228 2024-01-23 19:22:03 -05:00
parent 51d6a1d90f
commit 94878b77b6
No known key found for this signature in database
GPG Key ID: 6F3EB461799AD95E

View File

@ -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