From 7d7a764f26dfb2b273de25ce6d678caac5867707 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Thu, 14 Jun 2007 22:57:29 +0000 Subject: [PATCH] fixed a preprocessor condition bug where boost.date_time was being used when it shouldn't --- include/libtorrent/time.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/libtorrent/time.hpp b/include/libtorrent/time.hpp index 2470522c0..399326411 100644 --- a/include/libtorrent/time.hpp +++ b/include/libtorrent/time.hpp @@ -51,7 +51,7 @@ namespace libtorrent } } -#if (!defined (__MACH__) && !defined (_WIN32) && !defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0) || defined (TORRENT_USE_BOOST_DATE_TIME) +#if (!defined (__MACH__) && !defined (_WIN32) && (!defined(_POSIX_MONOTONIC_CLOCK) || _POSIX_MONOTONIC_CLOCK < 0)) || defined (TORRENT_USE_BOOST_DATE_TIME) #include