summaryrefslogtreecommitdiffstats
path: root/newlib
diff options
context:
space:
mode:
Diffstat (limited to 'newlib')
-rw-r--r--newlib/libc/ctype/ctype_.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/newlib/libc/ctype/ctype_.h b/newlib/libc/ctype/ctype_.h
index 10a4b42ff..5356d3815 100644
--- a/newlib/libc/ctype/ctype_.h
+++ b/newlib/libc/ctype/ctype_.h
@@ -6,7 +6,11 @@
#ifdef ALLOW_NEGATIVE_CTYPE_INDEX
+#ifndef __CYGWIN__
+ extern _CONST char _ctype_b[];
+#else
extern char _ctype_b[];
+#endif
# define DEFAULT_CTYPE_PTR ((char *) _ctype_b + 127)
#else /* !ALLOW_NEGATIVE_CTYPE_INDEX */