Move os layer to be part of the core

This commit is contained in:
2025-02-24 00:30:25 +00:00
parent 4520f2269d
commit 1479c13417
28 changed files with 20 additions and 38 deletions

View File

@@ -1,27 +0,0 @@
#ifndef MEM_OS_WIN_H
#define MEM_OS_WIN_H
#include "platform.h"
#ifdef __cplusplus
BEGIN_C_LINKAGE
#endif // !__cplusplus
#ifdef WAPP_PLATFORM_WINDOWS
#define WIN32_LEAN_AND_MEAN
#include <Windows.h>
#include <memoryapi.h>
typedef enum mem_alloc_flags {
WAPP_MEM_ALLOC_RESERVE = MEM_RESERVE,
WAPP_MEM_ALLOC_COMMIT = MEM_COMMIT,
} MemAllocFlags;
#endif // !WAPP_PLATFORM_WINDOWS
#ifdef __cplusplus
END_C_LINKAGE
#endif // !__cplusplus
#endif // !MEM_OS_WIN_H