summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/memcasecmp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/memcasecmp.c b/lib/memcasecmp.c
index ac4d7a9f5..28e397bc3 100644
--- a/lib/memcasecmp.c
+++ b/lib/memcasecmp.c
@@ -25,11 +25,11 @@
#include <ctype.h>
#if defined (STDC_HEADERS) || (!defined (isascii) && !defined (HAVE_ISASCII))
-#define ISASCII(c) 1
+#define IN_CTYPE_DOMAIN(c) 1
#else
-#define ISASCII(c) isascii(c)
+#define IN_CTYPE_DOMAIN(c) isascii(c)
#endif
-#define ISUPPER(c) (ISASCII (c) && isupper (c))
+#define ISUPPER(c) (IN_CTYPE_DOMAIN (c) && isupper (c))
#if _LIBC || STDC_HEADERS
# define TOLOWER(c) tolower (c)