diff options
author | Jim Meyering <jim@meyering.net> | 2000-07-30 19:50:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-07-30 19:50:58 +0000 |
commit | e0be88dd591d9d497cec805b65a0a1a5a8bc2fac (patch) | |
tree | afdcf514aa3104a0da711b6f73a44c27034b616c | |
parent | 456a1ea3eaad5a0a895bf58bc3310c2a38375482 (diff) | |
download | coreutils-e0be88dd591d9d497cec805b65a0a1a5a8bc2fac.tar.xz |
(ISPRINT): Undef before defining to avoid warning.
-rw-r--r-- | src/sys2.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sys2.h b/src/sys2.h index d8bd622fe..936fd8afd 100644 --- a/src/sys2.h +++ b/src/sys2.h @@ -201,6 +201,9 @@ char *alloca (); # define ISGRAPH(c) (IN_CTYPE_DOMAIN (c) && isprint (c) && !isspace (c)) #endif +/* This is defined in <sys/euc.h> on at least Solaris2.6 systems. */ +#undef ISPRINT + #define ISPRINT(c) (IN_CTYPE_DOMAIN (c) && isprint (c)) #define ISALNUM(c) (IN_CTYPE_DOMAIN (c) && isalnum (c)) #define ISALPHA(c) (IN_CTYPE_DOMAIN (c) && isalpha (c)) |