Mercurial > hg > octave-lojdl > gnulib-hg
changeset 1300:cd8d05a4356e
*** empty log message ***
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 04 Apr 1998 21:37:50 +0000 |
parents | f8b90b628db6 |
children | cf9eefaa4995 |
files | lib/regex.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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 <wchar.h> # include <wctype.h> -# include <wchar.h> #endif /* This is for other GNU distributions with internationalized messages. */ @@ -194,6 +194,7 @@ 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 @@ # 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))