Logo
Explore Help
Register Sign In
tasiaiso/tildefriends
1
0
Fork 0
You've already forked tildefriends
forked from cory/tildefriends
Code Issues Pull Requests Releases Wiki Activity
Files
b0b002104a5a087d97c0698657b3484a269e2df9
tildefriends/src/log.h

13 lines
315 B
C
Raw Normal View History

Replace all printfs with tf_printf, which redirects to android logging. Change into the files directory so that sqlite can do its thing. Getting closer. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4203 ed5197a5-7fde-0310-b194-c3ffbd925b24
2023-03-07 17:50:17 +00:00
#pragma once
#if defined(__ANDROID__)
#include <android/log.h>
#define tf_printf(...) __android_log_print(ANDROID_LOG_INFO, "tildefriends", __VA_ARGS__)
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
2023-10-15 16:55:25 +00:00
#elif defined(__APPLE__)
#include <os/log.h>
#define tf_printf(...) os_log(OS_LOG_DEFAULT, __VA_ARGS__)
Replace all printfs with tf_printf, which redirects to android logging. Change into the files directory so that sqlite can do its thing. Getting closer. git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4203 ed5197a5-7fde-0310-b194-c3ffbd925b24
2023-03-07 17:50:17 +00:00
#else
#include <stdio.h>
#define tf_printf printf
#endif
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.2 Page: 305ms Template: 3ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API