ref: 152968ba52958da39a705f5f6b110b3ec186b74f
parent: 0bacc8eef49b1f8e43e95578c87f5c020587b765
author: kvik <[email protected]>
date: Sat Feb 6 17:58:03 EST 2021
conf: hardcode decimal separator character Plan 9 does not support localization.
--- a/luaconf.h
+++ b/luaconf.h
@@ -656,7 +656,7 @@
** macro must include the header 'locale.h'.)
*/
#if !defined(lua_getlocaledecpoint)
-#define lua_getlocaledecpoint() (localeconv()->decimal_point[0])
+#define lua_getlocaledecpoint() '.'
#endif
/* }================================================================== */