Fixes for compiling on Android
This commit is contained in:
@@ -199,7 +199,7 @@ static void buffreplace (LexState *ls, char from, char to) {
|
||||
|
||||
|
||||
#if ANDROID
|
||||
#define getlocaldecpoint() '.'
|
||||
#define getlocaledecpoint() '.'
|
||||
#elif !defined(getlocaledecpoint)
|
||||
#define getlocaledecpoint() (localeconv()->decimal_point[0])
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user