summaryrefslogtreecommitdiff
path: root/boost/phoenix/config.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'boost/phoenix/config.hpp')
-rw-r--r--boost/phoenix/config.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/boost/phoenix/config.hpp b/boost/phoenix/config.hpp
index ad81c01919..6d69394154 100644
--- a/boost/phoenix/config.hpp
+++ b/boost/phoenix/config.hpp
@@ -11,6 +11,7 @@
#define BOOST_PHOENIX_CONFIG_HPP
#include <boost/config.hpp>
+#include <boost/detail/workaround.hpp>
//////////////////////////////////////////////////////////////////////////
// This section is to sort out whether hash types or unordered types
@@ -67,4 +68,10 @@
#define BOOST_PHOENIX_HASH_NAMESPACE stdext
#endif
+#if BOOST_WORKAROUND(BOOST_GCC, < 40100)
+#define BOOST_PHOENIX_SFINAE_AND_OVERLOADS , void* = 0
+#else
+#define BOOST_PHOENIX_SFINAE_AND_OVERLOADS
+#endif
+
#endif