From 39d871d66d6ce0c49dc669f2d8e2f55414579bcf Mon Sep 17 00:00:00 2001 From: Earnie Boyd Date: Sun, 28 Jan 2001 18:06:17 +0000 Subject: [PATCH] * include/wchar.h: The 2001.01.18 Change was incorrect. The functions are actually C functions. These functions are resolved via the -lmsvcp60 library and comments were placed in the header. --- winsup/mingw/ChangeLog | 7 +++++++ winsup/mingw/include/wchar.h | 6 +++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 1bdc35fa7..6646b5ab1 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,10 @@ + +Sun Jan 28 13:01:08 2001 Earnie Boyd + + * include/wchar.h: The 2001.01.18 Change was incorrect. The functions + are actually C functions. These functions are resolved via the + -lmsvcp60 library and comments were placed in the header. + 2001-01-28 Danny Smith *include/stdlib.h (__p__pgmptr): add prototype. diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 8aa8ae40b..db60f7311 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -256,8 +256,9 @@ wchar_t * wmktemp(wchar_t *); #endif /* not __STRICT_ANSI__ */ -#ifdef __cplusplus -/* These are only defined in C++ STL runtime dll. */ +/* These are resolved by -lmsvcp60 */ +/* If you don't have msvcp60.dll in your windows system directory, you can + easily obtain it with a search from your favorite search engine. */ typedef int mbstate_t; typedef wchar_t _Wint_t; @@ -269,7 +270,6 @@ size_t mbsrtowcs(wchar_t *, const char **, size_t, mbstate_t *); size_t wcrtomb(char *, wchar_t, mbstate_t *); size_t wcsrtombs(char *, const wchar_t **, size_t, mbstate_t *); int wctob(wint_t); -#endif def __cplusplus #ifdef __cplusplus } /* end of extern "C" */