We use:
#include <boost/version.hpp> #if BOOST_VERSION < 105000 #include <boost/thread/xtime.hpp> namespace boost { enum xtime_compat { TIME_UTC_=TIME_UTC }; } #endif
Thus, you can use boost::TIME_UTC_ , as in 1.50 onwards.
But not for openSuse, because they decided to merge this change back to 1.49.
source share