From: Marc Fehling Date: Thu, 17 Dec 2020 01:59:51 +0000 (-0700) Subject: Added missing header for boost 1.75.0. X-Git-Tag: v9.3.0-rc1~748^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13bc2f8a021316d38be0c0fcaa93aa177e214d86;p=dealii.git Added missing header for boost 1.75.0. --- diff --git a/include/deal.II/base/bounding_box.h b/include/deal.II/base/bounding_box.h index c842c8796a..937783de0e 100644 --- a/include/deal.II/base/bounding_box.h +++ b/include/deal.II/base/bounding_box.h @@ -26,6 +26,9 @@ DEAL_II_DISABLE_EXTRA_DIAGNOSTICS #include #include +#if DEAL_II_BOOST_VERSION_GTE(1, 75, 0) +# include +#endif DEAL_II_ENABLE_EXTRA_DIAGNOSTICS DEAL_II_NAMESPACE_OPEN diff --git a/include/deal.II/base/config.h.in b/include/deal.II/base/config.h.in index df9b8bad0b..205c5e6952 100644 --- a/include/deal.II/base/config.h.in +++ b/include/deal.II/base/config.h.in @@ -238,6 +238,13 @@ #define DEAL_II_BOOST_VERSION_MINOR @Boost_MINOR_VERSION@ #define DEAL_II_BOOST_VERSION_SUBMINOR @Boost_SUBMINOR_VERSION@ +#define DEAL_II_BOOST_VERSION_GTE(major,minor,subminor) \ + ((DEAL_II_BOOST_VERSION_MAJOR * 100000 + \ + DEAL_II_BOOST_VERSION_MINOR * 100 + \ + DEAL_II_BOOST_VERSION_SUBMINOR) \ + >= \ + (major)*100000 + (minor)*100 + (subminor)) + /* * Gmsh: */