diff options
author | Jim Meyering <jim@meyering.net> | 2002-06-22 18:03:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-06-22 18:03:40 +0000 |
commit | db9171009a0f745a378d90c9932bedab4906bd15 (patch) | |
tree | a2ddd2ddc16b6b00a9c06d21943503910dc737f5 /lib/fnmatch.c | |
parent | e437a6b7f095b5f6227d233181041a40e0e2c561 (diff) | |
download | gnulib-db9171009a0f745a378d90c9932bedab4906bd15.tar.gz |
(ISASCII, ISPRINT): Undefine, to avoid warning about
redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h.
Diffstat (limited to 'lib/fnmatch.c')
-rw-r--r-- | lib/fnmatch.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/fnmatch.c b/lib/fnmatch.c index 1b498e5f3d..452edc063f 100644 --- a/lib/fnmatch.c +++ b/lib/fnmatch.c @@ -103,6 +103,7 @@ extern int fnmatch (const char *pattern, const char *string, int flags); #if defined _LIBC || !defined __GNU_LIBRARY__ || !HAVE_FNMATCH_GNU +# undef ISASCII /* defined in Solaris5.6's /usr/include/sys/euc.h */ # if defined STDC_HEADERS || !defined isascii # define ISASCII(c) 1 # else @@ -120,6 +121,7 @@ extern int fnmatch (const char *pattern, const char *string, int flags); # define ISGRAPH(c) (ISASCII (c) && isprint (c) && !isspace (c)) # endif +# undef ISPRINT /* defined in Solaris5.6's /usr/include/sys/euc.h */ # define ISPRINT(c) (ISASCII (c) && isprint (c)) # define ISDIGIT(c) (ISASCII (c) && isdigit (c)) # define ISALNUM(c) (ISASCII (c) && isalnum (c)) |