mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-02-13 02:21:53 +00:00
Linux: ignore missing MAP_NORESERVE on FreeBSD
Common/MemArenaPosix.cpp:111:71: error: use of undeclared identifier 'MAP_NORESERVE' void *base = mmap(0, EIGHT_GIGS, PROT_NONE, MAP_ANON | MAP_PRIVATE | MAP_NORESERVE, -1, 0); ^
This commit is contained in:
parent
1ba290a454
commit
633ba355ee
@ -26,6 +26,11 @@
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#ifndef MAP_NORESERVE
|
||||
// Not implemented on BSDs
|
||||
#define MAP_NORESERVE 0
|
||||
#endif
|
||||
|
||||
#include "Common/Log.h"
|
||||
#include "Common/File/FileUtil.h"
|
||||
#include "Common/MemoryUtil.h"
|
||||
|
Loading…
x
Reference in New Issue
Block a user