diff options
author | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-08-12 13:44:26 -0500 |
---|---|---|
committer | Yaakov Selkowitz <yselkowi@redhat.com> | 2016-08-12 13:44:26 -0500 |
commit | 51b669f679119556a12798096794845cd1049d95 (patch) | |
tree | 810ac6480aa043980531a6bc7cb3879c79f7314e | |
parent | b14a1dbc8643f4f93ab31c19a1ebf338d7108baa (diff) | |
download | cygnal-51b669f679119556a12798096794845cd1049d95.tar.gz cygnal-51b669f679119556a12798096794845cd1049d95.tar.bz2 cygnal-51b669f679119556a12798096794845cd1049d95.zip |
Do not include wctype.h in wchar.h with _GNU_SOURCE
_GNU_SOURCE generally enables all features, but in this case the POSIX
requirement to #include <wctype.h> for these is preferred.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
-rw-r--r-- | newlib/libc/include/wchar.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index f4996ecc5..3a2b89b08 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -33,7 +33,7 @@ typedef __gnuc_va_list va_list; #endif #endif /* __POSIX_VISIBLE >= 200809 || __XSI_VISIBLE */ -#if __XSI_VISIBLE /* && __XSI_VISIBLE < 800 */ +#if __XSI_VISIBLE /* && __XSI_VISIBLE < 800 */ && !__GNU_VISIBLE #include <wctype.h> #endif |