diff options
author | Earnie Boyd <earnie@users.sf.net> | 2001-01-28 21:06:17 +0300 |
---|---|---|
committer | Earnie Boyd <earnie@users.sf.net> | 2001-01-28 21:06:17 +0300 |
commit | 39d871d66d6ce0c49dc669f2d8e2f55414579bcf (patch) | |
tree | 58c2df37b63b0b1ace0132b5d5beec1bd600388f | |
parent | 80ac51aa476723e593619d2268f158d17feb7579 (diff) |
* 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.
-rw-r--r-- | winsup/mingw/ChangeLog | 7 | ||||
-rw-r--r-- | 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 <earnie@users.sourceforge.net> + + * 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 <danny_r_smith_2001@yahoo.co.nz> *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" */ |