summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/reallocpool.h
diff options
context:
space:
mode:
Diffstat (limited to 'libs/pbd/pbd/reallocpool.h')
-rw-r--r--libs/pbd/pbd/reallocpool.h3
1 files changed, 2 insertions, 1 deletions
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)