Ticket #12036: boost_thread_physical_concurrency_always_0.patch

File boost_thread_physical_concurrency_always_0.patch, 689 bytes (added by Diego Barrios Romero <eldruin@…>, 7 years ago)
  • src/win32/thread.cpp

     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 9b84505..886e5d1 100644
    a b namespace boost  
    530530    {
    531531      // a bit too strict: Windows XP with SP3 would be sufficient
    532532#if BOOST_PLAT_WINDOWS_RUNTIME                                    \
    533     || ( BOOST_USE_WINAPI_VERSION <= BOOST_WINAPI_VERSION_WINXP ) \
     533    || ( defined(BOOST_USE_WINAPI_VERSION) && ( BOOST_USE_WINAPI_VERSION <= BOOST_WINAPI_VERSION_WINXP ) ) \
    534534    || ( ( defined(__MINGW32__) && !defined(__MINGW64__) ) && _WIN32_WINNT < 0x0600)
    535535        return 0;
    536536#else