about summary refs log tree commit diff
path: root/sysdeps/generic/strtol.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/strtol.c')
-rw-r--r--sysdeps/generic/strtol.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sysdeps/generic/strtol.c b/sysdeps/generic/strtol.c
index 7e174d488b..28806083cf 100644
--- a/sysdeps/generic/strtol.c
+++ b/sysdeps/generic/strtol.c
@@ -188,7 +188,8 @@ extern int errno;
 #  define TOUPPER(Ch) towupper (Ch)
 # endif
 # else
-#  if defined STDC_HEADERS || (!defined isascii && !defined HAVE_ISASCII)
+#  if defined _LIBC \
+   || defined STDC_HEADERS || (!defined isascii && !defined HAVE_ISASCII)
 #   define IN_CTYPE_DOMAIN(c) 1
 #  else
 #   define IN_CTYPE_DOMAIN(c) isascii(c)