From b28b1858ac4473a0e004e17f34b5bcdea883b1d1 Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Fri, 23 Sep 2016 16:58:05 +0200 Subject: [PATCH] rec: Always test if BOOST_VERSION is < 1.61, not >, for readability (cherry picked from commit 64413f6afd9b3dfeb1bef158f48bb3be496a4e04) --- pdns/mtasker_fcontext.cc | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/pdns/mtasker_fcontext.cc b/pdns/mtasker_fcontext.cc index d8d4e2a1a..8d96fa168 100644 --- a/pdns/mtasker_fcontext.cc +++ b/pdns/mtasker_fcontext.cc @@ -24,13 +24,13 @@ #include #include #include -#if BOOST_VERSION >= 106100 -#include -using boost::context::detail::make_fcontext; -#else +#if BOOST_VERSION < 106100 #include using boost::context::make_fcontext; -#endif /* BOOST_VERSION >= 106100 */ +#else +#include +using boost::context::detail::make_fcontext; +#endif /* BOOST_VERSION < 106100 */ #if BOOST_VERSION < 105600 -- 2.40.0