summaryrefslogtreecommitdiff
path: root/libc/include/wchar.h
diff options
context:
space:
mode:
authorjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2010-04-07 10:58:21 +0000
committerjoseph <joseph@7b3dc134-2b1b-0410-93df-9e9f96275f8d>2010-04-07 10:58:21 +0000
commit4b25e22b0625884774fd5d09654f526c265baa2d (patch)
treee81a45708468431a673dc19ee5126462c9c5ee50 /libc/include/wchar.h
parent774f6474a25106e72432db818dde72aa1b97f6eb (diff)
Merge changes between r10115 and r10195 from /fsf/trunk.
git-svn-id: svn://svn.eglibc.org/trunk@10196 7b3dc134-2b1b-0410-93df-9e9f96275f8d
Diffstat (limited to 'libc/include/wchar.h')
-rw-r--r--libc/include/wchar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libc/include/wchar.h b/libc/include/wchar.h
index bca847731..3afe0b6e2 100644
--- a/libc/include/wchar.h
+++ b/libc/include/wchar.h
@@ -195,3 +195,8 @@ extern size_t __mbsrtowcs_l (wchar_t *dst, const char **src, size_t len,
# endif
#endif
+
+/* Undefine all __need_* constants in case we are included to get those
+ constants but the whole file was already read. */
+#undef __need_mbstate_t
+#undef __need_wint_t