diff --git a/Examples/Scripts/MaterialMapping/MaterialComposition.cpp b/Examples/Scripts/MaterialMapping/MaterialComposition.cpp index 348a4912f29..7e7731af846 100644 --- a/Examples/Scripts/MaterialMapping/MaterialComposition.cpp +++ b/Examples/Scripts/MaterialMapping/MaterialComposition.cpp @@ -24,7 +24,7 @@ #include #define BOOST_AVAILABLE 1 -#if ((BOOST_VERSION / 100) % 1000) <= 71 +#if BOOST_VERSION < 107200 // Boost <=1.71 and lower do not have progress_display.hpp as a replacement yet #include diff --git a/Examples/Scripts/TrackingPerformance/TrackSummary.cpp b/Examples/Scripts/TrackingPerformance/TrackSummary.cpp index deba72311d5..0e806ff0a90 100644 --- a/Examples/Scripts/TrackingPerformance/TrackSummary.cpp +++ b/Examples/Scripts/TrackingPerformance/TrackSummary.cpp @@ -27,7 +27,7 @@ #include #define BOOST_AVAILABLE 1 -#if ((BOOST_VERSION / 100) % 1000) <= 71 +#if BOOST_VERSION < 107200 // Boost <=1.71 and lower do not have progress_display.hpp as a replacement yet #include