This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
[PATCH] Feature test macros overhaul: wctype.h
- From: Yaakov Selkowitz <yselkowi at redhat dot com>
- To: newlib at sourceware dot org
- Date: Thu, 11 Aug 2016 14:17:47 -0500
- Subject: [PATCH] Feature test macros overhaul: wctype.h
- Authentication-results: sourceware.org; auth=none
iswblank was first introduced in C99.
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
---
newlib/libc/include/wctype.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/newlib/libc/include/wctype.h b/newlib/libc/include/wctype.h
index c72c9de..0e335ec 100644
--- a/newlib/libc/include/wctype.h
+++ b/newlib/libc/include/wctype.h
@@ -25,7 +25,9 @@ typedef int wctrans_t;
int _EXFUN(iswalpha, (wint_t));
int _EXFUN(iswalnum, (wint_t));
+#if __ISO_C_VISIBLE >= 1999
int _EXFUN(iswblank, (wint_t));
+#endif
int _EXFUN(iswcntrl, (wint_t));
int _EXFUN(iswctype, (wint_t, wctype_t));
int _EXFUN(iswdigit, (wint_t));
--
2.8.3