mirror of https://github.com/Icinga/icinga2.git
Merge pull request #5388 from leeclemens/fix/clang-misdetection
Handle mis-detection with clang on RHEL/CentOS 7
This commit is contained in:
commit
093e08e3da
|
@ -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…
Reference in New Issue