mirror of
https://github.com/moonlight-stream/moonlight-common-c.git
synced 2026-06-17 06:11:03 +00:00
Add Limelog support under Android
This commit is contained in:
@@ -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