OSDN Git Service

* include/wchar.h: The 2001.01.18 Change was incorrect. The functions
authorearnie <earnie>
Sun, 28 Jan 2001 18:06:17 +0000 (18:06 +0000)
committerearnie <earnie>
Sun, 28 Jan 2001 18:06:17 +0000 (18:06 +0000)
are actually C functions.  These functions are resolved via the
-lmsvcp60 library and comments were placed in the header.

winsup/mingw/ChangeLog
winsup/mingw/include/wchar.h

index 1bdc35f..6646b5a 100644 (file)
@@ -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.
index 8aa8ae4..db60f73 100644 (file)
@@ -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" */