mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 23:42:18 +00:00
Disable physical_concurrency() on Mingw32 alone.
This commit is contained in:
parent
e0217424f3
commit
cf1182ee99
@@ -529,7 +529,7 @@ namespace boost
|
||||
|
||||
unsigned thread::physical_concurrency() BOOST_NOEXCEPT
|
||||
{
|
||||
#if BOOST_PLAT_WINDOWS_RUNTIME
|
||||
#if BOOST_PLAT_WINDOWS_RUNTIME || (defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR))
|
||||
return hardware_concurrency();
|
||||
#else
|
||||
unsigned cores = 0;
|
||||
|
||||
Reference in New Issue
Block a user