DEBUG_BUFFERS doesn't work unless pool allocators are turned off

This commit is contained in:
Arvid Norberg 2010-09-01 02:58:51 +00:00
parent cf6772d9fd
commit 11f3dd2c4c
1 changed files with 4 additions and 0 deletions

View File

@ -37,6 +37,10 @@ POSSIBILITY OF SUCH DAMAGE.
#include <boost/version.hpp>
#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
#define __STDC_FORMAT_MACROS
#include <inttypes.h>