From 2288e04a5b366f2fd53a83566136ae3b90be29c9 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Sat, 19 Mar 2016 10:51:15 +0100 Subject: suppress realloc-poll debug messages in optimized builds --- libs/pbd/pbd/reallocpool.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'libs') diff --git a/libs/pbd/pbd/reallocpool.h b/libs/pbd/pbd/reallocpool.h index e02250c419..f91f8e2225 100644 --- a/libs/pbd/pbd/reallocpool.h +++ b/libs/pbd/pbd/reallocpool.h @@ -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) -- cgit v1.2.3