cut dependency on typeinfo header when building without deprecated functions
This commit is contained in:
@@ -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 <typeinfo>
|
||||
#endif
|
||||
#endif // TORRENT_NO_DEPRECATE
|
||||
|
||||
#ifndef TORRENT_MAX_ALERT_TYPES
|
||||
#define TORRENT_MAX_ALERT_TYPES 15
|
||||
|
Reference in New Issue
Block a user