X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Fctype.h;h=7936536f577c7d5ee5fd9257b8baad2fc491f4ec;hb=ced75472d7e3d73d5b057e36ccbc7b7fcba95104;hp=cd2e016987bd4fb8c13c678e3cd7a5f32d09e290;hpb=2ca55a93f2a11185d72dcb69006fd2c30b5c3144;p=musl diff --git a/include/ctype.h b/include/ctype.h index cd2e0169..7936536f 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -64,6 +64,7 @@ int isascii(int); int toascii(int); #define _tolower(a) ((a)|0x20) #define _toupper(a) ((a)&0x5f) +#define isascii(a) (0 ? isascii(a) : (unsigned)(a) < 128) #endif