summaryrefslogtreecommitdiff
path: root/strings
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2003-01-17 12:35:47 +0400
committerunknown <bar@bar.mysql.r18.ru>2003-01-17 12:35:47 +0400
commit57ab67de6be56aa0cb657eb5573f7a9406822e16 (patch)
treee65e625a20f69f135be0e1113550d83156099703 /strings
parent3531347e8cd20482a06a192e965f50990a8a72f7 (diff)
downloadmariadb-git-57ab67de6be56aa0cb657eb5573f7a9406822e16.tar.gz
ctype-utf8.c:
Workaround for platforms which don't support EILSEQ strings/ctype-utf8.c: Workaround for platforms which don't support EILSEQ
Diffstat (limited to 'strings')
-rw-r--r--strings/ctype-utf8.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/strings/ctype-utf8.c b/strings/ctype-utf8.c
index e57f35bab19..4a99d7465a7 100644
--- a/strings/ctype-utf8.c
+++ b/strings/ctype-utf8.c
@@ -23,6 +23,10 @@
#include "m_ctype.h"
#include <errno.h>
+#ifndef EILSEQ
+#define EILSEQ ENOENT
+#endif
+
#ifdef HAVE_CHARSET_utf8
#define HAVE_UNIDATA
#endif