mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-12 01:36:57 +00:00
fix(memory): remove the inclusion of mman.h on windows.
Signed-off-by: Ronald Caesar <github43132@proton.me>
This commit is contained in:
parent
d1ada1740a
commit
6ad2d300fb
1 changed files with 3 additions and 1 deletions
|
|
@ -1,6 +1,8 @@
|
|||
#include "arena.h"
|
||||
#include <sys/mman.h>
|
||||
#include "Base/Assert.h"
|
||||
#ifndef WIN32
|
||||
#include <sys/mman.h>
|
||||
#endif
|
||||
|
||||
Memory::Arena Memory::arena_init() {
|
||||
// TODO(GloriousEggroll): Replace malloc with a windows memory mapping API.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue