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/annotate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/annotate.cc') diff --git a/src/annotate.cc b/src/annotate.cc index b2df0d34..b7b6b5cb 100644 --- a/src/annotate.cc +++ b/src/annotate.cc @@ -186,7 +186,7 @@ void annotation_t::parse(std::istream& in) } } while (true); -#if defined(DEBUG_ON) +#if DEBUG_ON if (SHOW_DEBUG("amounts.commodities") && *this) { DEBUG("amounts.commodities", "Parsed commodity annotations: " << std::endl << *this); @@ -300,7 +300,7 @@ annotated_commodity_t::find_price(const commodity_t * commodity, } } -#if defined(DEBUG_ON) +#if DEBUG_ON if (target) DEBUG("commodity.price.find", "target commodity: " << target->symbol()); #endif -- cgit v1.2.3