forked from premiere/premiere-libtorrent
cut dependency on typeinfo header when building without deprecated functions
This commit is contained in:
parent
c384bd5c92
commit
e09370b014
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue