summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2010-06-05 04:49:10 -0400
committerJohn Wiegley <johnw@newartisans.com>2010-06-05 04:49:10 -0400
commit1417b40fdf0a92a85ab01f233c0ae076079901a2 (patch)
treec389da2eed81612ffb3868f61c31fa2534855fe1
parent2c65b95e49a1cec1c4f2fa6bcd2d31629f358f92 (diff)
downloadfork-ledger-1417b40fdf0a92a85ab01f233c0ae076079901a2.tar.gz
fork-ledger-1417b40fdf0a92a85ab01f233c0ae076079901a2.tar.bz2
fork-ledger-1417b40fdf0a92a85ab01f233c0ae076079901a2.zip
Enabled timers and logging in NDEBUG builds
-rw-r--r--src/utils.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils.h b/src/utils.h
index 24f424b7..9135abde 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -49,17 +49,17 @@
*/
/*@{*/
+#define TIMERS_ON 1
+
#if defined(DEBUG_MODE)
#define VERIFY_ON 1
#define TRACING_ON 1
#define DEBUG_ON 1
-#define TIMERS_ON 1
#elif defined(NDEBUG)
#define NO_ASSERTS 1
-#define NO_LOGGING 1
+//#define NO_LOGGING 1
#else
#define TRACING_ON 1 // use --trace X to enable
-#define TIMERS_ON 1
#endif
/*@}*/