From 4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Sat, 19 May 2012 19:32:40 -0500 Subject: Converted the Ledger build system to use CMake --- src/history.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/history.cc') diff --git a/src/history.cc b/src/history.cc index d94ec647..556abd26 100644 --- a/src/history.cc +++ b/src/history.cc @@ -67,7 +67,7 @@ public: template bool operator()(const Edge& e) const { -#if defined(DEBUG_ON) +#if DEBUG_ON DEBUG("history.find", " reftime = " << reftime); if (! oldest.is_not_a_date_time()) { DEBUG("history.find", " oldest = " << oldest); @@ -239,7 +239,7 @@ commodity_history_t::find_price(const commodity_t& source, FNameMap namemap(get(vertex_name, fg)); DEBUG("history.find", "sv commodity = " << get(namemap, sv)->symbol()); -#if defined(DEBUG_ON) +#if DEBUG_ON if (source.has_flags(COMMODITY_PRIMARY)) DEBUG("history.find", "sv commodity is primary"); #endif -- cgit v1.2.3