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