Commit 9e093cbc authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

include: Add wmemcpy to wchar.h.

parent 8c968f77
......@@ -10,6 +10,7 @@
#include <crtdefs.h>
#include <stdarg.h>
#include <string.h>
#include <pshpack8.h>
......@@ -495,6 +496,11 @@ static inline int 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)
{
return memcpy(dst, src, n * sizeof(wchar_t));
}
#ifdef __cplusplus
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment