Fix MSVC build error for VC 17.13+

(cherry picked from commit 7eb07c00a2484cb1b7255238bfd5a9830a92726c)

50171749 Fix MSVC build in 17.13.2

Co-authored-by: Jan Wichmann <j-wichmann@gmx.net>

(cherry picked from commit d7388e2a70fc4d04f9acf05aa5c723ea310f9658)

Co-authored-by: Mark Roszko <mark.roszko@gmail.com>
This commit is contained in:
Mark Roszko 2025-02-27 23:42:27 +00:00
parent c90d9b7ebe
commit 8ad2755ae3

View File

@ -30,6 +30,7 @@
#include <stdexcept>
#if (!defined(_MSC_VER) || (_MSC_VER > 1600))
#include <mutex>
#include <chrono>
#else
#pragma warning(disable : 4482) // non-standard
#include <boost/thread/lock_guard.hpp>