From: Jim Meyering Date: Sat, 4 Apr 1998 21:37:50 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3fdc98be03fb6c8b4a3ee0630131f3c4701dacb4;p=pspp *** empty log message *** --- diff --git a/lib/regex.c b/lib/regex.c index 40804405d9..74eaa2dcc9 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 # include +# include #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))