From 8610551db7cc10c72d7a6bbfaa7ffe61d521a5d9 Mon Sep 17 00:00:00 2001 From: Robin Watts Date: Tue, 15 May 2012 20:00:19 +0100 Subject: 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. --- gs/base/memento.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__ -- cgit v1.2.3