forked from premiere/premiere-libtorrent
disable pool allocators does not affect libtorrent API
This commit is contained in:
parent
df4fcaaeed
commit
8e772e8baf
|
@ -63,12 +63,6 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define TORRENT_CFG_IPV6 noipv_-
|
#define TORRENT_CFG_IPV6 noipv_-
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef TORRENT_DISABLE_POOL_ALLOCATORS
|
|
||||||
#define TORRENT_CFG_POOL nopools_
|
|
||||||
#else
|
|
||||||
#define TORRENT_CFG_POOL pools_
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifdef _UNICODE
|
#ifdef _UNICODE
|
||||||
#define TORRENT_CFG_UNICODE unicode_
|
#define TORRENT_CFG_UNICODE unicode_
|
||||||
#else
|
#else
|
||||||
|
@ -96,10 +90,9 @@ POSSIBILITY OF SUCH DAMAGE.
|
||||||
#define TORRENT_CFG \
|
#define TORRENT_CFG \
|
||||||
BOOST_PP_CAT(TORRENT_CFG_DEBUG, \
|
BOOST_PP_CAT(TORRENT_CFG_DEBUG, \
|
||||||
BOOST_PP_CAT(TORRENT_CFG_TIME, \
|
BOOST_PP_CAT(TORRENT_CFG_TIME, \
|
||||||
BOOST_PP_CAT(TORRENT_CFG_POOL, \
|
|
||||||
BOOST_PP_CAT(TORRENT_CFG_LOG, \
|
BOOST_PP_CAT(TORRENT_CFG_LOG, \
|
||||||
BOOST_PP_CAT(TORRENT_CFG_DEPR, \
|
BOOST_PP_CAT(TORRENT_CFG_DEPR, \
|
||||||
TORRENT_CFG_EXT)))))
|
TORRENT_CFG_EXT))))
|
||||||
|
|
||||||
#define TORRENT_CFG_STRING BOOST_PP_STRINGIZE(TORRENT_CFG)
|
#define TORRENT_CFG_STRING BOOST_PP_STRINGIZE(TORRENT_CFG)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue