diff options
author | Jan Beich <jbeich@FreeBSD.org> | 2021-07-27 22:00:09 +0200 |
---|---|---|
committer | Jan Beich <jbeich@FreeBSD.org> | 2021-07-27 22:09:43 +0200 |
commit | c4cd82fa7c146ad7caca14d199cfdaa9147eeefb (patch) | |
tree | 4936dff0def53fe03722dc14d5372a4fa7a11dcd /src/common | |
parent | Merge pull request #6748 from lioncash/engine-init (diff) | |
download | yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.tar yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.tar.gz yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.tar.bz2 yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.tar.lz yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.tar.xz yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.tar.zst yuzu-c4cd82fa7c146ad7caca14d199cfdaa9147eeefb.zip |
Diffstat (limited to 'src/common')
-rw-r--r-- | src/common/host_memory.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/host_memory.cpp b/src/common/host_memory.cpp index 2a5a7596c..49e58d250 100644 --- a/src/common/host_memory.cpp +++ b/src/common/host_memory.cpp @@ -6,7 +6,7 @@ #include <windows.h> #include "common/dynamic_library.h" -#elif defined(__linux__) // ^^^ Windows ^^^ vvv Linux vvv +#elif defined(__linux__) || defined(__FreeBSD__) // ^^^ Windows ^^^ vvv Linux vvv #ifndef _GNU_SOURCE #define _GNU_SOURCE @@ -343,7 +343,7 @@ private: std::unordered_map<size_t, size_t> placeholder_host_pointers; ///< Placeholder backing offset }; -#elif defined(__linux__) // ^^^ Windows ^^^ vvv Linux vvv +#elif defined(__linux__) || defined(__FreeBSD__) // ^^^ Windows ^^^ vvv Linux vvv class HostMemory::Impl { public: |