aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2008-10-15 20:49:56 +0000
committerJeff Johnston <jjohnstn@redhat.com>2008-10-15 20:49:56 +0000
commit6b35caa257910d1545f3719545ee322d61229d5f (patch)
tree895b454a83a858b12ab2e52cb398678c8dfbac5b /newlib/libc
parentbc5585e6e528862e461ade6a7e94cf3da59185f1 (diff)
downloadnewlib-6b35caa257910d1545f3719545ee322d61229d5f.zip
newlib-6b35caa257910d1545f3719545ee322d61229d5f.tar.gz
newlib-6b35caa257910d1545f3719545ee322d61229d5f.tar.bz2
Fix typo and make C99 check the same as is used in math.h
Diffstat (limited to 'newlib/libc')
-rw-r--r--newlib/libc/include/ctype.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/include/ctype.h b/newlib/libc/include/ctype.h
index 0e3d052..a7c7ca2 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