Signed-off-by: Alex Henrie alexhenrie24@gmail.com --- For https://bugs.winehq.org/show_bug.cgi?id=43300
include/msvcrt/wchar.h | 8 ++++++++ 1 file changed, 8 insertions(+)
diff --git a/include/msvcrt/wchar.h b/include/msvcrt/wchar.h index 6fe6f11828..a91d0f3093 100644 --- a/include/msvcrt/wchar.h +++ b/include/msvcrt/wchar.h @@ -495,6 +495,14 @@ static inline int __cdecl wmemcmp(const wchar_t *s1, const wchar_t *s2, size_t n return 0; }
+static inline wchar_t* __cdecl wmemcpy(wchar_t *dst, const wchar_t *src, size_t n) +{ + size_t i; + for (i = 0; i < n; i++) + dst[i] = src[i]; + return dst; +} + #ifdef __cplusplus } #endif