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