This is the mail archive of the newlib-cvs@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[newlib-cygwin] Feature test macros overhaul: wctype.h


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=05aca4d94d6281bc8dabfb006413e9aa2aa3f89a

commit 05aca4d94d6281bc8dabfb006413e9aa2aa3f89a
Author: Yaakov Selkowitz <yselkowi@redhat.com>
Date:   Thu Aug 11 14:16:24 2016 -0500

    Feature test macros overhaul: wctype.h
    
    iswblank was first introduced in C99.
    
    Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]