Skip to content

Commit

Permalink
rec: Always test if BOOST_VERSION is < 1.61, not >, for readability
Browse files Browse the repository at this point in the history
(cherry picked from commit 64413f6)
  • Loading branch information
rgacogne committed Sep 27, 2016
1 parent ddf6fa5 commit b28b185
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions pdns/mtasker_fcontext.cc
Expand Up @@ -24,13 +24,13 @@
#include <cassert>
#include <type_traits>
#include <boost/version.hpp>
#if BOOST_VERSION >= 106100
#include <boost/context/detail/fcontext.hpp>
using boost::context::detail::make_fcontext;
#else
#if BOOST_VERSION < 106100
#include <boost/context/fcontext.hpp>
using boost::context::make_fcontext;
#endif /* BOOST_VERSION >= 106100 */
#else
#include <boost/context/detail/fcontext.hpp>
using boost::context::detail::make_fcontext;
#endif /* BOOST_VERSION < 106100 */


#if BOOST_VERSION < 105600
Expand Down

0 comments on commit b28b185

Please sign in to comment.