Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set
_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR
when building on windows (#…
…449) There was a change in VS 2022 to make VS more compliant with the C++ standard and make std::mutex a constexpr. However, this causes problems if an older version of the runtime is loaded first - in which case, the chiapos wheel will often crash. https://stackoverflow.com/questions/78598141/first-stdmutexlock-crashes-in-application-built-with-latest-visual-studio Set `_DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR` in order to disable the newer (albeit more compliant) code and use the more compatible version
- Loading branch information