fix debug buffer build. add new Jamfile feature for it. attempt to make it build on windows

This commit is contained in:
Arvid Norberg
2013-11-29 09:41:53 +00:00
parent f99be2455a
commit f382876832
4 changed files with 36 additions and 5 deletions

View File

@@ -349,9 +349,14 @@ feature.compose <extensions>off : <define>TORRENT_DISABLE_EXTENSION ;
feature asio-debugging : off on : composite propagated link-incompatible ;
feature.compose <asio-debugging>on : <define>TORRENT_ASIO_DEBUGGING ;
# deprecated use allocator=pool instead
feature pool-allocators : on off : composite propagated link-incompatible ;
feature.compose <pool-allocators>off : <define>TORRENT_DISABLE_POOL_ALLOCATOR ;
feature allocator : pool system debug : composite ;
feature.compose <allocator>system : <define>TORRENT_DISABLE_POOL_ALLOCATOR ;
feature.compose <allocator>debug : <define>TORRENT_DISABLE_POOL_ALLOCATOR <define>TORRENT_DEBUG_BUFFERS ;
feature piece-allocator : valloc memalign posix_memalign : composite propagated ;
feature.compose <piece-allocator>memalign : <define>TORRENT_USE_MEMALIGN=1 ;
feature.compose <piece-allocator>posix_memalign : <define>TORRENT_USE_POSIX_MEMALIGN=1 ;