diff --git a/trademgen/python/pytrademgen.cpp b/trademgen/python/pytrademgen.cpp index 9c506f8..54430d4 100644 --- a/trademgen/python/pytrademgen.cpp +++ b/trademgen/python/pytrademgen.cpp @@ -15,7 +15,11 @@ #include #include // Boost Timer (progress display) +#if BOOST_VERSION_MACRO >= 107200 #include +#else // BOOST_VERSION_MACRO >= 107200 +#include +#endif // BOOST_VERSION_MACRO >= 107200 // StdAir #include #include @@ -119,7 +123,11 @@ namespace TRADEMGEN { _trademgenService->getExpectedTotalNumberOfRequestsToBeGenerated(); // Initialise the (Boost) progress display object +#if BOOST_VERSION_MACRO >= 107200 boost::timer::progress_display +#else // BOOST_VERSION_MACRO >= 107200 + boost::progress_display +#endif // BOOST_VERSION_MACRO >= 107200 lProgressDisplay (lExpectedNbOfEventsToBeGenerated * iNbOfRuns); for (NbOfRuns_T runIdx = 1; runIdx <= iNbOfRuns; ++runIdx) {