diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2008-07-22 14:38:18 +0400 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2008-07-22 14:38:18 +0400 |
commit | 737a72dd0eb2091b24a4819f956f23941c92f7e0 (patch) | |
tree | 0b5281c9bf518a546653824dc7400520430f304b /winsup | |
parent | fa914bf8ab6b2c93a02f1a915cc22c2e21d68f76 (diff) |
* include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/cygwin/include/ctype.h | 3 |
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 24bd69561..c703056b3 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2008-07-22 Corinna Vinschen <corinna@vinschen.de> + + * include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy. + 2008-07-21 Corinna Vinschen <corinna@vinschen.de> * Makefile.in (cygcheck.exe): Link against ntdll. diff --git a/winsup/cygwin/include/ctype.h b/winsup/cygwin/include/ctype.h index 05c950322..343bafbd5 100644 --- a/winsup/cygwin/include/ctype.h +++ b/winsup/cygwin/include/ctype.h @@ -40,6 +40,9 @@ int __cdecl _toupper(int); #if defined (__INSIDE_CYGWIN__) || defined (_COMPILING_NEWLIB) extern const char _ctype_[]; +#ifdef _COMPILING_NEWLIB +extern const char *__ctype_ptr__; +#endif #else extern const __declspec(dllimport) char _ctype_[]; #endif |