--- boost_1_57_0/libs/thread/src/win32/thread.cpp.orig 2014-11-07 15:38:02.024756700 -0500 +++ boost_1_57_0/libs/thread/src/win32/thread.cpp 2014-11-07 15:59:35.564756700 -0500 @@ -533,7 +533,8 @@ namespace boost return hardware_concurrency(); #else unsigned cores = 0; -#if !(defined(__MINGW32__) || defined (__MINGW64__)) +#if !(defined(__MINGW32__) || defined (__MINGW64__)) && _WIN32_WINNT >= 0x0600 + // This part of code is only available reliably on Windows Vista and Higher DWORD size = 0; GetLogicalProcessorInformation(NULL, &size); @@ -550,6 +551,7 @@ namespace boost if (buffer[i].Relationship == RelationProcessorCore) ++cores; } +#else #endif return cores; #endif