[PATCH v2 2/3] include: Add wmemmove to wchar.h

Alex Henrie alexhenrie24 at gmail.com
Mon May 28 16:49:56 CDT 2018


Signed-off-by: Alex Henrie <alexhenrie24 at gmail.com>
---
For https://bugs.winehq.org/show_bug.cgi?id=43300

 include/msvcrt/wchar.h | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/include/msvcrt/wchar.h b/include/msvcrt/wchar.h
index 4a6b788273..2114c43e57 100644
--- a/include/msvcrt/wchar.h
+++ b/include/msvcrt/wchar.h
@@ -501,6 +501,11 @@ static inline wchar_t* __cdecl wmemcpy(wchar_t *dst, const wchar_t *src, size_t
     return memcpy(dst, src, n * sizeof(wchar_t));
 }
 
+static inline wchar_t* __cdecl wmemmove(wchar_t *dst, const wchar_t *src, size_t n)
+{
+    return memmove(dst, src, n * sizeof(wchar_t));
+}
+
 #ifdef __cplusplus
 }
 #endif
-- 
2.17.0




More information about the wine-devel mailing list