diff options
author | Jim Meyering <jim@meyering.net> | 1998-04-04 21:37:50 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1998-04-04 21:37:50 +0000 |
commit | faa759b349b9ef003c82cccdfaa0541344bfc3b1 (patch) | |
tree | 1482ec3a379878097438c7941aacdfc58374fb90 /lib | |
parent | 398e92a2ec348d1749fc5bd5c176029f4393634b (diff) | |
download | coreutils-faa759b349b9ef003c82cccdfaa0541344bfc3b1.tar.xz |
*** empty log message ***
Diffstat (limited to 'lib')
-rw-r--r-- | lib/regex.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/regex.c b/lib/regex.c index 40804405d..74eaa2dcc 100644 --- a/lib/regex.c +++ b/lib/regex.c @@ -52,8 +52,8 @@ /* For platform which support the ISO C amendement 1 functionality we support user defined character classes. */ #if defined _LIBC || (defined HAVE_WCTYPE_H && defined HAVE_WCHAR_H) -# include <wctype.h> # include <wchar.h> +# include <wctype.h> #endif /* This is for other GNU distributions with internationalized messages. */ @@ -194,6 +194,7 @@ init_syntax_once () Defining isascii to 1 should let any compiler worth its salt eliminate the && through constant folding." */ +#undef ISASCII #if defined STDC_HEADERS || (!defined isascii && !defined HAVE_ISASCII) # define ISASCII(c) 1 #else @@ -211,6 +212,7 @@ init_syntax_once () # define ISGRAPH(c) (ISASCII (c) && isprint (c) && !isspace (c)) #endif +#undef ISPRINT #define ISPRINT(c) (ISASCII (c) && isprint (c)) #define ISDIGIT(c) (ISASCII (c) && isdigit (c)) #define ISALNUM(c) (ISASCII (c) && isalnum (c)) |