diff options
Diffstat (limited to 'libc/misc/ctype/ctype.c')
-rw-r--r-- | libc/misc/ctype/ctype.c | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libc/misc/ctype/ctype.c b/libc/misc/ctype/ctype.c index 5dc35cc72..a077dbf3c 100644 --- a/libc/misc/ctype/ctype.c +++ b/libc/misc/ctype/ctype.c @@ -118,6 +118,15 @@ isspace( int c ) } #endif +#ifdef L_isblank +#undef isblank +int +isblank( int c ) +{ + return (c == ' ' || c == '\t'); +} +#endif + #ifdef L_isupper #undef isupper int @@ -266,6 +275,15 @@ isspace( int c ) } #endif +#ifdef L_isblank +#undef isblank +int +isblank( int c ) +{ + return _UC_ISCTYPE(c, ISblank); +} +#endif + #ifdef L_isupper #undef isupper int |