diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 631e6d322..1ffba7539 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-03-28 Christopher Faylor + + * include/ctype.h: Accommodate building in newlib. + 2005-03-28 Christopher Faylor * timer.cc (getitimer): Check that ovalue is a valid pointer, not just 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_[];