diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-12-02 15:44:32 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-12-02 15:44:32 +0900 |
| commit | ea828944eff14b0cc3be88c432499602bd454c75 (patch) | |
| tree | 8caa110cabf5b1376ac21fd8ad5637e9b4b89860 /include/mruby.h | |
| parent | 4c70b5c644a1f936ac4790ab437cf76a99fb8aa8 (diff) | |
| parent | 64d1d104928336dc0cd9c67321617fa455ccac62 (diff) | |
| download | mruby-ea828944eff14b0cc3be88c432499602bd454c75.tar.gz mruby-ea828944eff14b0cc3be88c432499602bd454c75.zip | |
Merge branch 'master' of github.com:mruby/mruby
Diffstat (limited to 'include/mruby.h')
| -rw-r--r-- | include/mruby.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby.h b/include/mruby.h index 5b8d08b5b..68b0c5b79 100644 --- a/include/mruby.h +++ b/include/mruby.h @@ -359,7 +359,7 @@ MRB_API mrb_value mrb_obj_clone(mrb_state *mrb, mrb_value self); #define ISALPHA(c) (ISASCII(c) && isalpha((int)(unsigned char)(c))) #define ISDIGIT(c) (ISASCII(c) && isdigit((int)(unsigned char)(c))) #define ISXDIGIT(c) (ISASCII(c) && isxdigit((int)(unsigned char)(c))) -#define ISBLANK(c) (ISASCII(c) && isblank((int)(unsigned char)(c))) +#define ISBLANK(c) (ISASCII(c) && ((c) == ' ' || (c) == '\t')) #define ISCNTRL(c) (ISASCII(c) && iscntrl((int)(unsigned char)(c))) #define TOUPPER(c) (ISASCII(c) ? toupper((int)(unsigned char)(c)) : (c)) #define TOLOWER(c) (ISASCII(c) ? tolower((int)(unsigned char)(c)) : (c)) |
