Enough glue to load a web page from our web server in the iOS simulator. Next challenge is uv_spawn: permission denied.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4519 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2023-10-15 16:55:25 +00:00
parent 84eaa3e2fd
commit 8bd0027e71
6 changed files with 76 additions and 9 deletions

View File

@ -3,6 +3,9 @@
#if defined(__ANDROID__)
#include <android/log.h>
#define tf_printf(...) __android_log_print(ANDROID_LOG_INFO, "tildefriends", __VA_ARGS__)
#elif defined(__APPLE__)
#include <os/log.h>
#define tf_printf(...) os_log(OS_LOG_DEFAULT, __VA_ARGS__)
#else
#include <stdio.h>
#define tf_printf printf