Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Define _DISABLE_CONSTEXPR_MUTEX_CONSTRUCTOR (#21005)
microsoft/STL#3824 introduces constexpr mutex. An older version of msvcp140.dll will lead to ```A dynamic link library (DLL) initialization routine failed```. This error can be encountered if using conda Python since conda packages msvc dlls and these are older right now. This PR disables the constexpr mutex so that ort package can work with older msvc dlls. Thanks @snnn for the discovery.
- Loading branch information