2
0
mirror of https://github.com/boostorg/timer.git synced 2026-01-22 17:52:19 +00:00

Merge pull request #5 from igaztanaga/patch-1

Avoid link-time chrono dependencies
This commit is contained in:
Beman Dawes
2017-10-23 08:42:08 -04:00
committed by GitHub

View File

@@ -13,6 +13,10 @@
// the library is being built (possibly exporting rather than importing code)
#define BOOST_TIMER_SOURCE
// define BOOST_CHRONO_HEADER_ONLY so that chrono dependencies are not
// propagated to library users
#define BOOST_CHRONO_HEADER_ONLY
#include <boost/timer/timer.hpp>
#include <boost/chrono/chrono.hpp>
#include <boost/io/ios_state.hpp>