OSDN Git Service

Fix typo and make C99 check the same as is used in math.h
authorjjohnstn <jjohnstn>
Wed, 15 Oct 2008 20:49:56 +0000 (20:49 +0000)
committerjjohnstn <jjohnstn>
Wed, 15 Oct 2008 20:49:56 +0000 (20:49 +0000)
newlib/libc/include/ctype.h

index 0e3d052..a7c7ca2 100644 (file)
@@ -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