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