VERY experimental Nintendo Switch 2 emulator
C++
host_memory: allow missing MAP_NORESERVE on FreeBSD after de66cf5637ab
Jan Beich6ab3d70252e6
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cppindex 3a9ea6eb4f..179f6ab118 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>