aboutsummaryrefslogtreecommitdiffstats
path: root/mbsupport.h
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2016-04-11 06:12:38 +0300
committerArnold D. Robbins <arnold@skeeve.com>2016-04-11 06:12:38 +0300
commitdf7f609e7de6a2d5db52dbd908767a60900565fe (patch)
treeb98475d97b692d0ef0069cbe9493a36a982e2721 /mbsupport.h
parent6db77c0a45815f33b7dadb23ee6ba2c70a739345 (diff)
downloadegawk-df7f609e7de6a2d5db52dbd908767a60900565fe.tar.gz
egawk-df7f609e7de6a2d5db52dbd908767a60900565fe.tar.bz2
egawk-df7f609e7de6a2d5db52dbd908767a60900565fe.zip
Fix mbsupport.h for DJGPP.
Diffstat (limited to 'mbsupport.h')
-rw-r--r--mbsupport.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/mbsupport.h b/mbsupport.h
index f4e1a821..8c99b430 100644
--- a/mbsupport.h
+++ b/mbsupport.h
@@ -3,7 +3,7 @@
*/
/*
- * Copyright (C) 2004, 2005, 2011, 2012 the Free Software Foundation, Inc.
+ * Copyright (C) 2004, 2005, 2011, 2012, 2016 the Free Software Foundation, Inc.
*
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
@@ -43,6 +43,8 @@
#define wcslen strlen
#define wctob(wc) (EOF)
+#define mbstate_t int
+
extern wctype_t wctype(const char *name);
extern int iswctype(wint_t wc, wctype_t desc);
extern int wcscoll(const wchar_t *ws1, const wchar_t *ws2);