diff options
author | Jim Meyering <jim@meyering.net> | 1993-04-06 02:45:12 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1993-04-06 02:45:12 +0000 |
commit | 67c4edfeb2ba2a1aff0b42bf2f1bbdb737385b49 (patch) | |
tree | 661918a07ffc91265c6e5a6a7702ecc7dc63b885 | |
parent | 5e292210c930a96915d586d96170915c9020992f (diff) | |
download | coreutils-67c4edfeb2ba2a1aff0b42bf2f1bbdb737385b49.tar.xz |
undef isascii before redefining
-rw-r--r-- | lib/regex.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c index eda11b535..247f5f1d7 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -127,7 +127,8 @@ init_syntax_once () /* isalpha etc. are used for the character classes. */ #include <ctype.h> -#ifndef isascii +#if !defined (isascii) || defined (STDC_HEADERS) +#undef isascii #define isascii(c) 1 #endif |