aboutsummaryrefslogtreecommitdiff
path: root/winsup/mingw/include/wchar.h
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-01-28 18:06:17 +0000
committerEarnie Boyd <earnie@users.sf.net>2001-01-28 18:06:17 +0000
commit39d871d66d6ce0c49dc669f2d8e2f55414579bcf (patch)
tree58c2df37b63b0b1ace0132b5d5beec1bd600388f /winsup/mingw/include/wchar.h
parent80ac51aa476723e593619d2268f158d17feb7579 (diff)
downloadnewlib-39d871d66d6ce0c49dc669f2d8e2f55414579bcf.zip
newlib-39d871d66d6ce0c49dc669f2d8e2f55414579bcf.tar.gz
newlib-39d871d66d6ce0c49dc669f2d8e2f55414579bcf.tar.bz2
* 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.
Diffstat (limited to 'winsup/mingw/include/wchar.h')
-rw-r--r--winsup/mingw/include/wchar.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h
index 8aa8ae4..db60f73 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" */