suppress realloc-poll debug messages in optimized builds

This commit is contained in:
Robin Gareus
2016-03-19 10:51:15 +01:00
parent 4135735590
commit 2288e04a5b

View File

@@ -19,10 +19,11 @@
#ifndef _reallocpool_h_
#define _reallocpool_h_
#ifndef NDEBUG
#define RAP_WITH_CALL_STATS // collect statistics on calls counts (light)
//#define RAP_WITH_HISTOGRAM 513 // collect statistic about allocation size (not bad)
//#define RAP_WITH_SEGMENT_STATS // collect statistics (expensive)
#endif
#ifndef RAP_BLOCKSIZE
#define RAP_BLOCKSIZE 7 // [bytes] power-of-two minus one (optional)