summaryrefslogtreecommitdiff
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.patch8
1 files changed, 7 insertions, 1 deletions
diff --git a/external/boost/boost_1_60_0.undef.warning.patch b/external/boost/boost_1_60_0.undef.warning.patch
index 79441d6cc1fc..0678afa9d5ce 100644
--- a/external/boost/boost_1_60_0.undef.warning.patch
+++ b/external/boost/boost_1_60_0.undef.warning.patch
@@ -1,6 +1,6 @@
--- a/b/boost/boost/config/workaround.hpp
+++ a/b/boost/boost/config/workaround.hpp
-@@ -237,6 +237,13 @@
+@@ -237,6 +237,19 @@
#else
#define BOOST_INTEL_WORKAROUND_GUARD 0
#endif
@@ -11,6 +11,12 @@
+#define BOOST_GCC_VERSION_WORKAROUND_GUARD 0
+#endif
+
++#ifndef __clang_major___WORKAROUND_GUARD
++#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