This commit is contained in:
2025-01-11 15:10:56 +00:00
parent 54ef57b90f
commit 1ae4a5fef9
6 changed files with 195 additions and 56 deletions

View File

@@ -1,8 +1,8 @@
#ifndef OS_IMPL_WIN32_CPP
#define OS_IMPL_WIN32_CPP
#include "os.h"
#include "Windows.h"
#include "os.h"
void *os_alloc(size_t commitSize) {
return VirtualAlloc(NULL, commitSize, MEM_RESERVE | MEM_COMMIT, PAGE_READWRITE);