summaryrefslogtreecommitdiffstats
path: root/external/boost/boost_1_60_0.undef.warning.patch
diff options
context:
space:
mode:
Diffstat (limited to 'external/boost/boost_1_60_0.undef.warning.patch')
-rw-r--r--external/boost/boost_1_60_0.undef.warning.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/external/boost/boost_1_60_0.undef.warning.patch b/external/boost/boost_1_60_0.undef.warning.patch
new file mode 100644
index 000000000..1e72d4e17
--- /dev/null
+++ b/external/boost/boost_1_60_0.undef.warning.patch
@@ -0,0 +1,16 @@
+--- a/b/boost/boost/config/workaround.hpp
++++ a/b/boost/boost/config/workaround.hpp
+@@ -237,6 +237,13 @@
+ #else
+ #define BOOST_INTEL_WORKAROUND_GUARD 0
+ #endif
++
++#ifndef __clang_major__
++#define __clang_major___WORKAROUND_GUARD 1
++#else
++#define __clang_major___WORKAROUND_GUARD 0
++#endif
++
+ // Always define to zero, if it's used it'll be defined my MPL:
+ #define BOOST_MPL_CFG_GCC_WORKAROUND_GUARD 0
+