File boost-thread.patch of Package mingw32-boost
--- a/boost/config/compiler/gcc.hpp 2017-04-17 04:22:19.000000000 +0200 +++ b/boost/config/compiler/gcc.hpp 2017-05-31 07:50:36.540165131 +0200 @@ -73,7 +73,7 @@ // those platforms where we can know for sure). It will get turned off again // later if no threading API is detected. // -#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__) +#if !defined(__MINGW32__) # define BOOST_HAS_THREADS #endif