From cf1182ee99ee1868550faac091b5f0d8b43e4dd7 Mon Sep 17 00:00:00 2001 From: "Niall Douglas (s [underscore] sourceforge {at} nedprod [dot] com)" Date: Wed, 18 Feb 2015 15:19:48 +0000 Subject: [PATCH] Disable physical_concurrency() on Mingw32 alone. --- src/win32/thread.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/win32/thread.cpp b/src/win32/thread.cpp index ded62056..b4d59e13 100644 --- a/src/win32/thread.cpp +++ b/src/win32/thread.cpp @@ -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;