summaryrefslogtreecommitdiff
path: root/boost/thread/detail/platform.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/thread/detail/platform.hpp')
-rw-r--r--boost/thread/detail/platform.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/boost/thread/detail/platform.hpp b/boost/thread/detail/platform.hpp
index 1f33b1a67a..172a601a02 100644
--- a/boost/thread/detail/platform.hpp
+++ b/boost/thread/detail/platform.hpp
@@ -31,7 +31,9 @@
#elif defined(__CYGWIN__)
# define BOOST_THREAD_CYGWIN
#elif (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(BOOST_DISABLE_WIN32)
+#if ! defined BOOST_THREAD_WIN32
# define BOOST_THREAD_WIN32
+#endif
#elif defined(__BEOS__)
# define BOOST_THREAD_BEOS
#elif defined(macintosh) || defined(__APPLE__) || defined(__APPLE_CC__)