diff options
author | Jakub Jelinek <jakub@redhat.com> | 2007-12-12 18:13:35 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2007-12-12 18:13:35 +0000 |
commit | 574e283890a6ca92325a06dafa76ff307a8019a2 (patch) | |
tree | 055e44e24a55fb4863e5d9cdc04e320cde52ffe9 /wcsmbs | |
parent | a162e5955f7e324be82d9318bbcbe869c66ffb86 (diff) | |
download | glibc-574e283890a6ca92325a06dafa76ff307a8019a2.tar glibc-574e283890a6ca92325a06dafa76ff307a8019a2.tar.gz glibc-574e283890a6ca92325a06dafa76ff307a8019a2.tar.bz2 glibc-574e283890a6ca92325a06dafa76ff307a8019a2.zip |
Updated to fedora-glibc-20071212T1051
Diffstat (limited to 'wcsmbs')
-rw-r--r-- | wcsmbs/wchar.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index 885662b07b..0fd9e35440 100644 --- a/wcsmbs/wchar.h +++ b/wcsmbs/wchar.h @@ -31,7 +31,7 @@ #ifdef _WCHAR_H /* Get FILE definition. */ # define __need___FILE -# ifdef __USE_UNIX98 +# if defined __USE_UNIX98 || defined __USE_XOPEN2K # define __need_FILE # endif # include <stdio.h> @@ -839,4 +839,9 @@ __END_DECLS #endif /* _WCHAR_H defined */ +/* Undefined 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 + #endif /* wchar.h */ |