summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin Watts <robin.watts@artifex.com>2012-05-15 20:00:19 +0100
committerRobin Watts <robin.watts@artifex.com>2012-05-15 20:01:48 +0100
commit8610551db7cc10c72d7a6bbfaa7ffe61d521a5d9 (patch)
treed3be453e990948c8785ea14acfc0086e3408b590
parenta846030605e04c09265241853ed5ac3442c258e9 (diff)
Memento tweak: Allow MEMENTO_LEAKONLY to be defined by command line
Currently Memento undefines MEMENTO_LEAKONLY at the top of memento.c. Change it here not to do that, so it can be supplied as part of a CFLAGS or XCFLAGS line. CLUSTER_UNTESTED.
-rw-r--r--gs/base/memento.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gs/base/memento.c b/gs/base/memento.c
index 499758cce..add6a72a6 100644
--- a/gs/base/memento.c
+++ b/gs/base/memento.c
@@ -16,7 +16,7 @@
/* Set the following if you're only looking for leaks, not memory overwrites
* to speed the operation */
-#undef MEMENTO_LEAKONLY
+/* #define MEMENTO_LEAKONLY */
#ifndef MEMENTO_STACKTRACE_METHOD
#ifdef __GNUC__