summaryrefslogtreecommitdiffstats
path: root/include/wchar.h
diff options
context:
space:
mode:
authorManuel Novoa III <mjn3@codepoet.org>2002-06-17 08:35:18 +0000
committerManuel Novoa III <mjn3@codepoet.org>2002-06-17 08:35:18 +0000
commita7ce5bbdcd1217af1aab4c15e4ce337c8ef33973 (patch)
treecaae79386b8b08c5b141884c07b678f36c845b2e /include/wchar.h
parentf77a22a2223653a1d028bbd8fa5314fac7e7d7af (diff)
downloaduClibc-alpine-a7ce5bbdcd1217af1aab4c15e4ce337c8ef33973.tar.bz2
uClibc-alpine-a7ce5bbdcd1217af1aab4c15e4ce337c8ef33973.tar.xz
I guess nobody's tried this stuff. I apparently checked in the wrong version
several weeks ago.
Diffstat (limited to 'include/wchar.h')
-rw-r--r--include/wchar.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h
index 077f6832a..67a3664bf 100644
--- a/include/wchar.h
+++ b/include/wchar.h
@@ -68,6 +68,13 @@ typedef unsigned int wint_t;
#ifndef __mbstate_t_defined
# define __mbstate_t_defined 1
/* Conversion state information. */
+#if 1
+typedef struct
+{
+ wchar_t mask;
+ wchar_t wc;
+} __mbstate_t;
+#else
typedef struct
{
int __count;
@@ -78,6 +85,7 @@ typedef struct
} __value; /* Value so far. */
} __mbstate_t;
#endif
+#endif
#undef __need_mbstate_t