From 9211a1adeca1e408048bcbfe935079ff69b3fe63 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Mon, 16 Sep 2002 18:55:25 +0000 Subject: 2002-09-16 Jeff Johnston * libc/include/wchar.h (mbstate_t): Change protective flag to be _MBSTATE_T. * libc/include/sys/_types.h (_mbstate_t): Remove protective flag. [__CYGWIN__]: Remove special code that defines mbstate_t and WEOF for Cygwin. * libc/sys/linux/sys/_types.h (_mbstate_t): Remove protective flag. --- newlib/libc/include/wchar.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'newlib/libc/include/wchar.h') diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index 4cefc5d0a..f75fe31fc 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -31,10 +31,10 @@ #endif #endif -#ifndef MBSTATE_T -#define MBSTATE_T +#ifndef _MBSTATE_T +#define _MBSTATE_T typedef _mbstate_t mbstate_t; -#endif /* MBSTATE_T */ +#endif /* _MBSTATE_T */ wint_t _EXFUN(btowc, (int)); int _EXFUN(wctob, (wint_t)); -- cgit v1.2.3