From 9fdfa5ee10b644b137584b56cb60f48b4b6bf4a2 Mon Sep 17 00:00:00 2001 From: Lee Clemens Date: Thu, 29 Jun 2017 15:07:04 -0400 Subject: [PATCH] Handle mis-detection with clang on RHEL/CentOS 7 C++11 features available: BOOST_NO_CXX11_HDR_TUPLE refs #5257 --- lib/base/i2-base.hpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/lib/base/i2-base.hpp b/lib/base/i2-base.hpp index 4d2ef56c0..c48aafbb0 100644 --- a/lib/base/i2-base.hpp +++ b/lib/base/i2-base.hpp @@ -52,6 +52,12 @@ * event handling for sockets and timers. */ +#include + +#if defined(__clang__) && __cplusplus >= 201103L +# undef BOOST_NO_CXX11_HDR_TUPLE +#endif + #ifdef _MSC_VER # pragma warning(disable:4251) # pragma warning(disable:4275)