2bb93784c6
zig can now cross compile hello.c targeting windows
13 lines
215 B
C
13 lines
215 B
C
#define __CRT__NO_INLINE
|
|
#include <wchar.h>
|
|
|
|
wchar_t * __cdecl
|
|
wmempcpy (wchar_t *d, const wchar_t *s, size_t len)
|
|
{
|
|
wchar_t *r = d + len;
|
|
if (len != 0)
|
|
memcpy (d, s, len * sizeof (wchar_t));
|
|
return r;
|
|
}
|
|
|