mirror of
https://github.com/ziglang/zig.git
synced 2025-12-09 07:43:10 +00:00
also start prefering NtDll API. so far: * NtQueryInformationFile * NtClose adds a performance workaround for windows unicode conversion. but that should probably be removed before merging
9 lines
124 B
C
Vendored
9 lines
124 B
C
Vendored
#define _BSD_SOURCE
|
|
#include <stdlib.h>
|
|
#include "libc.h"
|
|
|
|
void *valloc(size_t size)
|
|
{
|
|
return memalign(PAGE_SIZE, size);
|
|
}
|