diff options
author | Robin Gareus <robin@gareus.org> | 2016-03-19 10:51:15 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2016-03-19 10:51:15 +0100 |
commit | 2288e04a5b366f2fd53a83566136ae3b90be29c9 (patch) | |
tree | a850b34178b67dbed5e9394954c215e0e947d9be /libs | |
parent | 4135735590150d0a141f2c56fbe5cf462972448d (diff) |
suppress realloc-poll debug messages in optimized builds
Diffstat (limited to 'libs')
-rw-r--r-- | libs/pbd/pbd/reallocpool.h | 3 |
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) |