]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Added missing header for boost 1.75.0. 11386/head
authorMarc Fehling <mafehling.git@gmail.com>
Thu, 17 Dec 2020 01:59:51 +0000 (18:59 -0700)
committerMarc Fehling <mafehling.git@gmail.com>
Thu, 17 Dec 2020 01:59:51 +0000 (18:59 -0700)
include/deal.II/base/bounding_box.h
include/deal.II/base/config.h.in

index c842c8796a1b612a78074d5a7972ecf82af620c4..937783de0ebabc676a2dfd30007212efe459afa9 100644 (file)
@@ -26,6 +26,9 @@
 DEAL_II_DISABLE_EXTRA_DIAGNOSTICS
 #include <boost/geometry/algorithms/envelope.hpp>
 #include <boost/geometry/geometries/multi_point.hpp>
+#if DEAL_II_BOOST_VERSION_GTE(1, 75, 0)
+#  include <boost/geometry/strategies/envelope/cartesian.hpp>
+#endif
 DEAL_II_ENABLE_EXTRA_DIAGNOSTICS
 
 DEAL_II_NAMESPACE_OPEN
index df9b8bad0bf88aee7e31af46476d01b85a5baff3..205c5e69527a9c11a24681b614ea74c2c4906eb4 100644 (file)
 #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:
  */

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.