1 #include <android/log.h>
11 * On Android additionally to stderr we output the log to Android's
12 * own buffer. This is better than nothing.
13 * Since Android's debug output is line-oriented, we have to accumulate
14 * the text in the buffer.
17 static void flushLog(void)
20 __android_log_write(ANDROID_LOG_DEBUG
, "AROS", buf
);
28 ret
= fputc(chr
, stderr
);
39 if (p
== BUFFER_SIZE
- 1)