mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-10-26 22:09:59 +00:00
Add Limelog support under Android
This commit is contained in:
1 parent
20821e7eb6
commit
7aeaefd24f
1 file changed
+4
@@ -41,6 +41,10 @@ void LimelogWindows(char* Format, ...);
|
|||||||
LimelogWindows(s, ##__VA_ARGS__)
|
LimelogWindows(s, ##__VA_ARGS__)
|
||||||
#elif defined(__vita__)
|
#elif defined(__vita__)
|
||||||
#define Limelog sceClibPrintf
|
#define Limelog sceClibPrintf
|
||||||
|
#elif defined(LC_ANDROID)
|
||||||
|
#include <android/log.h>
|
||||||
|
#define Limelog(s, ...) \
|
||||||
|
__android_log_print(ANDROID_LOG_INFO, "moonlight-common-c", s, ##__VA_ARGS__)
|
||||||
#else
|
#else
|
||||||
#define Limelog(s, ...) \
|
#define Limelog(s, ...) \
|
||||||
fprintf(stderr, s, ##__VA_ARGS__)
|
fprintf(stderr, s, ##__VA_ARGS__)
|
||||||
|
|||||||
Reference in new issue
Block a user