diff options
Diffstat (limited to 'ctype')
-rw-r--r-- | ctype/ctype.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ctype/ctype.h b/ctype/ctype.h index 7b4ef36c53..52bb56eeec 100644 --- a/ctype/ctype.h +++ b/ctype/ctype.h @@ -150,14 +150,15 @@ __exctype (_tolower); # define isblank(c) __isctype((c), _ISblank) #endif -#if __GNUC__ >= 2 -extern inline int +#if defined __OPTIMIZE__ && !defined __OPTIMIZE_SIZE__ \ + && defined __USE_EXTERN_INLINES +extern __inline int tolower (int __c) { return __c >= -128 && __c < 256 ? __tolower (__c) : __c; } -extern inline int +extern __inline int toupper (int __c) { return __c >= -128 && __c < 256 ? __toupper (__c) : __c; |