ray/thirdparty/patches/boost-interlocked-prefer-intrinsics.patch

11 lines
311 B
Diff
Raw Normal View History

diff --git boost/detail/interlocked.hpp boost/detail/interlocked.hpp
--- boost/detail/interlocked.hpp
+++ boost/detail/interlocked.hpp
@@ -21,1 +21,1 @@
-#if defined( BOOST_USE_WINDOWS_H )
+#if 0
@@ -33,1 +33,1 @@
-#elif defined( BOOST_USE_INTRIN_H )
+#elif defined( BOOST_USE_INTRIN_H ) || defined(_WIN32)
--