mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-23 21:55:03 +02:00
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:
parent
17a246f929
commit
9fdfa5ee10
@ -52,6 +52,12 @@
|
|||||||
* event handling for sockets and timers.
|
* 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
|
#ifdef _MSC_VER
|
||||||
# pragma warning(disable:4251)
|
# pragma warning(disable:4251)
|
||||||
# pragma warning(disable:4275)
|
# pragma warning(disable:4275)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user