summaryrefslogtreecommitdiffstats
path: root/newlib/libc/include/wchar.h
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2002-09-16 18:55:25 +0000
committerJeff Johnston <jjohnstn@redhat.com>2002-09-16 18:55:25 +0000
commit9211a1adeca1e408048bcbfe935079ff69b3fe63 (patch)
tree8b62a1e137e983df84ca96634dbf66a87ebf5251 /newlib/libc/include/wchar.h
parentd04cf16c52c845c683c901b2aa201445f6d9e1c4 (diff)
downloadcygnal-9211a1adeca1e408048bcbfe935079ff69b3fe63.tar.gz
cygnal-9211a1adeca1e408048bcbfe935079ff69b3fe63.tar.bz2
cygnal-9211a1adeca1e408048bcbfe935079ff69b3fe63.zip
2002-09-16 Jeff Johnston <jjohnstn@redhat.com>
* 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.
Diffstat (limited to 'newlib/libc/include/wchar.h')
-rw-r--r--newlib/libc/include/wchar.h6
1 files changed, 3 insertions, 3 deletions
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));