From df7f609e7de6a2d5db52dbd908767a60900565fe Mon Sep 17 00:00:00 2001 From: "Arnold D. Robbins" Date: Mon, 11 Apr 2016 06:12:38 +0300 Subject: Fix mbsupport.h for DJGPP. --- mbsupport.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'mbsupport.h') 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); -- cgit v1.2.3