From a5fb1b34551ede1a6d15409355e7b0b839e91394 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Mon, 19 Oct 2009 03:01:15 +0000 Subject: [PATCH] USE_BOOST_DATE_TIME fix --- include/libtorrent/deadline_timer.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libtorrent/deadline_timer.hpp b/include/libtorrent/deadline_timer.hpp index a57597eef..4f0ca2cbe 100644 --- a/include/libtorrent/deadline_timer.hpp +++ b/include/libtorrent/deadline_timer.hpp @@ -52,6 +52,7 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/time.hpp" // asio time_traits +#if !TORRENT_USE_BOOST_DATE_TIME #if BOOST_VERSION >= 103500 namespace boost { #endif @@ -78,6 +79,7 @@ namespace asio #if BOOST_VERSION >= 103500 } #endif +#endif namespace libtorrent {