DEBUG_BUFFERS doesn't work unless pool allocators are turned off
This commit is contained in:
@@ -37,6 +37,10 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include <boost/version.hpp>
|
#include <boost/version.hpp>
|
||||||
#include <stdio.h> // for snprintf
|
#include <stdio.h> // for snprintf
|
||||||
|
|
||||||
|
#if defined TORRENT_DEBUG_BUFFERS && !defined TORRENT_DISABLE_POOL_ALLOCATORS
|
||||||
|
#error TORRENT_DEBUG_BUFFERS only works if you also disable pool allocators
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef WIN32
|
#ifndef WIN32
|
||||||
#define __STDC_FORMAT_MACROS
|
#define __STDC_FORMAT_MACROS
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
|
Reference in New Issue
Block a user