summaryrefslogtreecommitdiff
path: root/boost/config/compiler/gcc.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/config/compiler/gcc.hpp')
-rw-r--r--boost/config/compiler/gcc.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/boost/config/compiler/gcc.hpp b/boost/config/compiler/gcc.hpp
index da4ce11..e319d04 100644
--- a/boost/config/compiler/gcc.hpp
+++ b/boost/config/compiler/gcc.hpp
@@ -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__)
+#if !defined(__MINGW32__) && !defined(linux) && !defined(__linux) && !defined(__linux__)
# define BOOST_HAS_THREADS
#endif