Merge pull request #5388 from leeclemens/fix/clang-misdetection

Handle mis-detection with clang on RHEL/CentOS 7
This commit is contained in:
Gunnar Beutner 2017-11-27 10:17:52 +01:00 committed by GitHub
commit 093e08e3da
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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)