Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEarnie Boyd <earnie@users.sf.net>2001-01-28 21:06:17 +0300
committerEarnie Boyd <earnie@users.sf.net>2001-01-28 21:06:17 +0300
commit39d871d66d6ce0c49dc669f2d8e2f55414579bcf (patch)
tree58c2df37b63b0b1ace0132b5d5beec1bd600388f /winsup/mingw
parent80ac51aa476723e593619d2268f158d17feb7579 (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.
Diffstat (limited to 'winsup/mingw')
-rw-r--r--winsup/mingw/ChangeLog7
-rw-r--r--winsup/mingw/include/wchar.h6
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" */