From 68d96be7767a520e03724ddadd254b2a26756bb8 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 28 Mar 2005 21:58:23 +0000 Subject: [PATCH] * include/ctype.h: Accommodate building in newlib. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/include/ctype.h | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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_[]; -- 2.43.5