summaryrefslogtreecommitdiff
path: root/com32/lua/src
diff options
context:
space:
mode:
authorFerenc Wágner <wferi@niif.hu>2013-10-10 17:13:41 +0200
committerFerenc Wágner <wferi@niif.hu>2014-03-01 17:40:34 +0100
commita4b75ac7913d5593f83c4de7cd510b9faae3ab4a (patch)
tree86e5362209e4ecc49c52c63e7c9ada80312e2895 /com32/lua/src
parent585dc11c333c87aefa2ed9a7eaa509cfe0ca6600 (diff)
downloadsyslinux-a4b75ac7913d5593f83c4de7cd510b9faae3ab4a.tar.gz
lua: the COM32 API does not provide locale.h
Diffstat (limited to 'com32/lua/src')
-rw-r--r--com32/lua/src/llex.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/lua/src/llex.c b/com32/lua/src/llex.c
index 1a32e348..71fe3a40 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