mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-01 14:58:14 +00:00
Common: DragonFly needs MAP_NOSYNC as well
This commit is contained in:
1 parent
61c106c57f
commit
b24b12f4a0
1 file changed
+1
-1
+1
-1
@@ -189,7 +189,7 @@ void *MemArena::CreateView(s64 offset, size_t size, void *base)
|
||||
// Do not sync memory to underlying file. Linux has this by default.
|
||||
#ifdef BLACKBERRY
|
||||
MAP_NOSYNCFILE |
|
||||
#elif defined(__FreeBSD__)
|
||||
#elif defined(__DragonFly__) || defined(__FreeBSD__)
|
||||
MAP_NOSYNC |
|
||||
#endif
|
||||
((base == 0) ? 0 : MAP_FIXED), fd, offset);
|
||||
|
||||
Reference in new issue
Block a user