diff --git a/Jamfile b/Jamfile index 1e101a2fa..64a46f78b 100755 --- a/Jamfile +++ b/Jamfile @@ -305,9 +305,6 @@ feature.compose off : TORRENT_USE_IPV6=0 ; feature need-librt : no yes : composite propagated link-incompatible ; -feature boost-date-time : off on : composite propagated link-incompatible ; -feature.compose off : TORRENT_NO_BOOST_DATE_TIME ; - feature fiemap : off on : composite propagated ; feature.compose on : HAVE_LINUX_FIEMAP_H ; diff --git a/src/asio.cpp b/src/asio.cpp index 52cc3c48c..bde4c1ff3 100644 --- a/src/asio.cpp +++ b/src/asio.cpp @@ -5,80 +5,6 @@ #define BOOST_ASIO_SOURCE #endif -#if _MSC_VER > 1310 && defined TORRENT_NO_BOOST_DATE_TIME - -// on windows; including timer_queue.hpp results in an -// actual link-time dependency on boost.date_time, even -// though it's never referenced. So, avoid that on windows. -// on Mac OS X and Linux, not including it results in -// missing symbols. For some reason, this current setup -// works, at least across windows, Linux and Mac OS X. -// In the future this hack can be fixed by disabling -// use of boost.date_time in boost.asio -// if TORRENT_NO_BOOST_DATE_TIME is not defined, it's -// fine to include everything, including pulling in -// the boost.date_time dependency via asio - -#include - -#if defined(BOOST_ASIO_HEADER_ONLY) -# error Do not compile Asio library source with BOOST_ASIO_HEADER_ONLY defined -#endif - -#include -#include -#include -#include -#include -#include -#include -#if BOOST_VERSION >= 104700 -#include -#include -#include -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#if defined TORRENT_USE_OPENSSL -#include -#endif -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#include -#if BOOST_VERSION >= 104900 -#include -#endif - -#else // _MSC_VER - #include "libtorrent/config.hpp" #define TORRENT_HAS_ASIO_DECL x ## BOOST_ASIO_DECL @@ -95,4 +21,3 @@ #include #endif -#endif