summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/ctype.h2
2 files changed, 5 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 631e6d322..1ffba7539 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,9 @@
2005-03-28 Christopher Faylor <cgf@timesys.com>
+ * include/ctype.h: Accommodate building in newlib.
+
+2005-03-28 Christopher Faylor <cgf@timesys.com>
+
* timer.cc (getitimer): Check that ovalue is a valid pointer, not just
NULL.
diff --git a/winsup/cygwin/include/ctype.h b/winsup/cygwin/include/ctype.h
index 8b0ca03ca..05c950322 100644
--- a/winsup/cygwin/include/ctype.h
+++ b/winsup/cygwin/include/ctype.h
@@ -38,7 +38,7 @@ int __cdecl _toupper(int);
#define _X 0100
#define _B 0200
-#ifdef __INSIDE_CYGWIN__
+#if defined (__INSIDE_CYGWIN__) || defined (_COMPILING_NEWLIB)
extern const char _ctype_[];
#else
extern const __declspec(dllimport) char _ctype_[];