diff mbox

Feature test macros overhaul: wctype.h

Message ID 20160811191747.2788-1-yselkowi@redhat.com
State New
Headers show

Commit Message

Yaakov Selkowitz Aug. 11, 2016, 7:17 p.m. UTC
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(+)

-- 
2.8.3
diff mbox

Patch

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));