[syslinux] [PATCH 06/21] lua: the COM32 API does not provide locale.h

Ferenc Wágner wferi at niif.hu
Tue Oct 15 11:03:34 PDT 2013


---
 com32/lua/src/llex.c |    4 ++++
 1 file changed, 4 insertions(+)

diff --git a/com32/lua/src/llex.c b/com32/lua/src/llex.c
index 1a32e34..71fe3a4 100644
--- a/com32/lua/src/llex.c
+++ b/com32/lua/src/llex.c
@@ -5,7 +5,11 @@
 */
 
 
+#ifndef SYSLINUX
 #include <locale.h>
+#else
+#define getlocaledecpoint() '.'
+#endif
 #include <string.h>
 
 #define llex_c
-- 
1.7.10.4



More information about the Syslinux mailing list