From 6b35caa257910d1545f3719545ee322d61229d5f Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 15 Oct 2008 20:49:56 +0000 Subject: Fix typo and make C99 check the same as is used in math.h --- newlib/libc/include/ctype.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'newlib/libc') diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h index 0e3d05244..a7c7ca2ef 100644 --- a/newlib/libc/include/ctype.h +++ b/newlib/libc/include/ctype.h @@ -19,8 +19,7 @@ int _EXFUN(isxdigit,(int __c)); int _EXFUN(tolower, (int __c)); int _EXFUN(toupper, (int __c)); -#if !defined(__STRICT_ANSI__) || \ - (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 1999901L) +#if !defined(__STRICT_ANSI__) || defined(__cplusplus) || __STDC_VERSION__ >= 199901L int _EXFUN(isblank, (int __c)); #endif -- cgit v1.2.3