[syslinux:master] lua: the COM32 API does not provide locale.h
syslinux-bot for Ferenc Wágner
wferi at niif.hu
Sun Mar 2 13:48:11 PST 2014
Commit-ID: a4b75ac7913d5593f83c4de7cd510b9faae3ab4a
Gitweb: http://www.syslinux.org/commit/a4b75ac7913d5593f83c4de7cd510b9faae3ab4a
Author: Ferenc Wágner <wferi at niif.hu>
AuthorDate: Thu, 10 Oct 2013 17:13:41 +0200
Committer: Ferenc Wágner <wferi at niif.hu>
CommitDate: Sat, 1 Mar 2014 17:40:34 +0100
lua: the COM32 API does not provide locale.h
---
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
More information about the Syslinux-commits
mailing list