OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
201214e
)
Fix typo and make C99 check the same as is used in math.h
author
jjohnstn
<jjohnstn>
Wed, 15 Oct 2008 20:49:56 +0000
(20:49 +0000)
committer
jjohnstn
<jjohnstn>
Wed, 15 Oct 2008 20:49:56 +0000
(20:49 +0000)
newlib/libc/include/ctype.h
patch
|
blob
|
history
diff --git
a/newlib/libc/include/ctype.h
b/newlib/libc/include/ctype.h
index
0e3d052
..
a7c7ca2
100644
(file)
--- 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