summaryrefslogtreecommitdiff
path: root/external/boost/boost_1_60_0.undef.warning.patch
blob: 0678afa9d5ceb3f9259f3e98bc70dd742904d30c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
--- a/b/boost/boost/config/workaround.hpp
+++ a/b/boost/boost/config/workaround.hpp
@@ -237,6 +237,19 @@
 #else
 #define BOOST_INTEL_WORKAROUND_GUARD 0
 #endif
+
+#ifndef BOOST_GCC_VERSION
+#define BOOST_GCC_VERSION_WORKAROUND_GUARD 1
+#else
+#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