diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2023-12-01 23:48:53 +0100 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2023-12-02 00:25:50 +0100 |
commit | 270d290e65d1c4d6e65824d20ec7f0174047f7a6 (patch) | |
tree | 7af6a74a330bc58ac95f7506f6de9b277352f7d7 /src/common | |
parent | Merge pull request #12243 from zhaobot/tx-update-20231201021513 (diff) | |
download | yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.tar yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.tar.gz yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.tar.bz2 yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.tar.lz yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.tar.xz yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.tar.zst yuzu-270d290e65d1c4d6e65824d20ec7f0174047f7a6.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/host_memory.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 3a9ea6eb4..179f6ab11 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp @@ -25,6 +25,10 @@ #include <unistd.h> #include "common/scope_exit.h" +#ifndef MAP_NORESERVE +#define MAP_NORESERVE 0 +#endif + #endif // ^^^ Linux ^^^ #include <mutex> |