Do not include boost/system/result.hpp on GCC 4.7

This commit is contained in:
Peter Dimov
2022-02-07 21:38:14 +02:00
parent 79f4ef0416
commit 46a5ecd490

View File

@ -9,8 +9,9 @@
#include <boost/system/error_code.hpp>
#include <boost/system/system_error.hpp>
#include <boost/config.hpp>
#if (__cplusplus >= 201103L) || (defined(_MSC_VER) && _MSC_VER >= 1900)
#if (__cplusplus >= 201103L) && !(defined(BOOST_GCC) && BOOST_GCC < 40800) || (defined(_MSC_VER) && _MSC_VER >= 1900)
# include <boost/system/result.hpp>
#endif