diff options
Diffstat (limited to 'chardefs.h')
-rw-r--r-- | chardefs.h | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -44,7 +44,10 @@ #endif #ifdef CTRL -#undef CTRL +# undef CTRL +#endif +#ifdef UNCTRL +# undef UNCTRL #endif /* Some character stuff. */ @@ -76,6 +79,9 @@ #define NON_NEGATIVE(c) ((unsigned char)(c) == (c)) +/* Some systems define these; we want our definitions. */ +#undef ISPRINT + #define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum (c)) #define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) #define ISDIGIT(c) (IN_CTYPE_DOMAIN (c) && isdigit (c)) |