mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2025-08-18 01:15:46 +00:00
Add Limelog support under Android
This commit is contained in:
parent
20821e7eb6
commit
7aeaefd24f
@ -41,6 +41,10 @@ void LimelogWindows(char* Format, ...);
|
||||
LimelogWindows(s, ##__VA_ARGS__)
|
||||
#elif defined(__vita__)
|
||||
#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
|
||||
#define Limelog(s, ...) \
|
||||
fprintf(stderr, s, ##__VA_ARGS__)
|
||||
|
Loading…
x
Reference in New Issue
Block a user