Browse Source

suppress isascii() macro for C++

analogous to commit a60457c84a.
master
Érico Rolim 5 years ago
committed by Rich Felker
parent
commit
e48e99c112
  1. 2
      include/ctype.h

2
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

Loading…
Cancel
Save