iOS port (for desktop_version) (#1137)

This commit is contained in:
leo60228
2024-11-15 20:33:10 -05:00
committed by GitHub
parent 6174d62f6f
commit fa8517a521
13 changed files with 116 additions and 8 deletions

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