diff --git a/src/core/hle/service/nvdrv/core/nvmap.h b/src/core/hle/service/nvdrv/core/nvmap.h index 6173f0075d..c61ae88847 100644 --- a/src/core/hle/service/nvdrv/core/nvmap.h +++ b/src/core/hle/service/nvdrv/core/nvmap.h @@ -12,7 +12,11 @@ #include #include #include +#if BOOST_VERSION >= 109000 #include +#else +#include +#endif #include #include @@ -141,7 +145,12 @@ public: void UnmapAllHandles(NvCore::SessionId session_id); std::list unmap_queue{}; - boost::unordered_node_map handles{}; //!< Main owning map of handles + /// Main owning map of handles +#if BOOST_VERSION >= 109000 + boost::unordered_node_map handles{}; +#else + std::unordered_map handles{}; +#endif std::mutex unmap_queue_lock{}; //!< Protects access to `unmap_queue` std::mutex handles_lock; //!< Protects access to `handles` static constexpr u32 HandleIdIncrement{4}; //!< Each new handle ID is an increment of 4 from the previous