]> sourceware.org Git - newlib-cygwin.git/commitdiff
Include wctype.h in wchar.h as an XSI extension
authorYaakov Selkowitz <yselkowi@redhat.com>
Thu, 11 Aug 2016 21:33:43 +0000 (16:33 -0500)
committerYaakov Selkowitz <yselkowi@redhat.com>
Thu, 11 Aug 2016 21:33:43 +0000 (16:33 -0500)
However, note that this inclusion is obsolescent in SUSv4 and therefore
may be removed in the next revision.

http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/wchar.h.html

Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
newlib/libc/include/wchar.h

index d5fc26f07c4cc9e2693706185d6f8db4a3a70bcf..e5b840dbe0ba59b8abd38691eaf24a9a913df741 100644 (file)
 /* For __STDC_ISO_10646__ */
 #include <sys/features.h>
 
+#if __XSI_VISIBLE /* && __XSI_VISIBLE < 800 */
+#include <wctype.h>
+#endif
+
 #ifndef WEOF
 # define WEOF ((wint_t)-1)
 #endif
This page took 0.027433 seconds and 5 git commands to generate.