Add Limelog support under Android
This commit is contained in:
parent
20821e7eb6
commit
7aeaefd24f
1 changed files with 4 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue