diff options
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | mbsupport.h | 4 |
2 files changed, 5 insertions, 1 deletions
@@ -4,6 +4,8 @@ * regcomp.c: Undo change of 2016-01-24 when parsing single-byte ranges. Go back to treating them as bytes and not as characters. The change broke things on Windows in non-UTF-8 character sets. + * mbsupport.h (mbstate_t): Define to int. + Update copyright. 2016-04-10 John E. Malmberg <wb8tyw@qsl.net> 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); |