Handle mis-detection with clang on RHEL/CentOS 7

C++11 features available: BOOST_NO_CXX11_HDR_TUPLE

refs #5257
This commit is contained in:
Lee Clemens 2017-06-29 15:07:04 -04:00 committed by Gunnar Beutner
parent 17a246f929
commit 9fdfa5ee10
1 changed files with 6 additions and 0 deletions

View File

@ -52,6 +52,12 @@
* event handling for sockets and timers.
*/
#include <boost/config.hpp>
#if defined(__clang__) && __cplusplus >= 201103L
# undef BOOST_NO_CXX11_HDR_TUPLE
#endif
#ifdef _MSC_VER
# pragma warning(disable:4251)
# pragma warning(disable:4275)