[syslinux:master] lua: the COM32 API does not provide strcoll()

syslinux-bot for Ferenc Wágner wferi at niif.hu
Sun Mar 2 13:48:14 PST 2014


Commit-ID:  9569359ca0abcb7cbf99d5571512e3ed616248df
Gitweb:     http://www.syslinux.org/commit/9569359ca0abcb7cbf99d5571512e3ed616248df
Author:     Ferenc Wágner <wferi at niif.hu>
AuthorDate: Fri, 11 Oct 2013 00:30:32 +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 strcoll()


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

diff --git a/com32/lua/src/lvm.c b/com32/lua/src/lvm.c
index 9cb7571..58312ac 100644
--- a/com32/lua/src/lvm.c
+++ b/com32/lua/src/lvm.c
@@ -5,6 +5,9 @@
 */
 
 
+#ifdef SYSLINUX
+#define strcoll strcmp
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>


More information about the Syslinux-commits mailing list