mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
(ISASCII, ISPRINT): Undefine, to avoid warning about
redefinition due to Solaris5.6's definition in /usr/include/sys/euc.h.
This commit is contained in:
1 parent
453257fa71
commit
8965df82d1
1 file changed
+2
@@ -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))
|
||||
|
||||
Reference in new issue
Block a user