suppress isascii() macro for C++

analogous to commit a60457c84a.
This commit is contained in:
Érico Rolim 2021-01-04 22:48:34 -03:00 committed by Rich Felker
parent b129cd8690
commit e48e99c112
1 changed files with 2 additions and 0 deletions

View File

@ -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