From e09370b014391c8afbd047f8d4487ff4cea96fb1 Mon Sep 17 00:00:00 2001 From: Arvid Norberg Date: Wed, 20 Nov 2013 08:08:04 +0000 Subject: [PATCH] cut dependency on typeinfo header when building without deprecated functions --- include/libtorrent/alert.hpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/libtorrent/alert.hpp b/include/libtorrent/alert.hpp index 0e266c282..55b6f9748 100644 --- a/include/libtorrent/alert.hpp +++ b/include/libtorrent/alert.hpp @@ -76,9 +76,11 @@ POSSIBILITY OF SUCH DAMAGE. #include "libtorrent/ptime.hpp" #include "libtorrent/config.hpp" +#ifndef TORRENT_NO_DEPRECATE #ifndef BOOST_NO_TYPEID #include #endif +#endif // TORRENT_NO_DEPRECATE #ifndef TORRENT_MAX_ALERT_TYPES #define TORRENT_MAX_ALERT_TYPES 15