OSDN Git Service

* include/ctype.h: Declare __ctype_ptr__ to keep newlib build happy.
authorcorinna <corinna>
Tue, 22 Jul 2008 10:38:18 +0000 (10:38 +0000)
committercorinna <corinna>
Tue, 22 Jul 2008 10:38:18 +0000 (10:38 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/ctype.h

index 24bd695..c703056 100644 (file)
@@ -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.
index 05c9503..343bafb 100644 (file)
@@ -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