From: Rémi Bernon rbernon@codeweavers.com
--- include/msvcrt/corecrt_wstring.h | 6 ++++++ 1 file changed, 6 insertions(+)
diff --git a/include/msvcrt/corecrt_wstring.h b/include/msvcrt/corecrt_wstring.h index 02332787dc9..c72d88d2f43 100644 --- a/include/msvcrt/corecrt_wstring.h +++ b/include/msvcrt/corecrt_wstring.h @@ -90,4 +90,10 @@ _ACRTIMP wchar_t* __cdecl wcstok(wchar_t*,const wchar_t*); } #endif
+#ifdef __cplusplus +extern "C++" { +template <size_t S> inline errno_t wcscat_s(wchar_t (&dst)[S], const wchar_t *arg) throw() { return wcscat_s(dst, S, arg); } +} /* extern "C++" */ +#endif /* __cplusplus */ + #endif /* _WSTRING_DEFINED */