summaryrefslogtreecommitdiff
path: root/timing.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2004-08-14 01:29:16 -0400
committerJohn Wiegley <johnw@newartisans.com>2004-08-14 01:29:16 -0400
commita5d9e21065bf553d8ea80914f2cb4d477384939a (patch)
tree8d11333cbf293fcfcaeebb03882c95ef8abcf63c /timing.h
parentbb044f882056aac97cba6f3046370c514852f1db (diff)
downloadfork-ledger-a5d9e21065bf553d8ea80914f2cb4d477384939a.tar.gz
fork-ledger-a5d9e21065bf553d8ea80914f2cb4d477384939a.tar.bz2
fork-ledger-a5d9e21065bf553d8ea80914f2cb4d477384939a.zip
fix
Diffstat (limited to 'timing.h')
-rw-r--r--timing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/timing.h b/timing.h
index bb36d99d..bc7fdfe2 100644
--- a/timing.h
+++ b/timing.h
@@ -44,7 +44,8 @@ class timing_t
#define TIMER_START(sym) sym.start(__FILE__, __LINE__)
#define TIMER_STOP(sym) sym.stop()
#else
-#define TIMER_START(sym, cat)
+#define TIMER_DEF(sym, cat)
+#define TIMER_START(sym)
#define TIMER_STOP(sym)
#endif