# HG changeset patch # User Jim Meyering # Date 1024769020 0 # Node ID 7624c7bcc95c5e01ed3872840199e480d7aa91ef # Parent 25fba7826e23d7dd38bd7fc0e2ab1ea83fcdce29 (ISASCII, ISPRINT): Undefine, to avoid warning about redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h. diff --git a/lib/fnmatch.c b/lib/fnmatch.c --- a/lib/fnmatch.c +++ b/lib/fnmatch.c @@ -103,6 +103,7 @@ #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 @@ # 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))