summaryrefslogtreecommitdiff
path: root/src/history.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-05-19 19:32:40 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-05-20 04:48:05 -0500
commit4681e58d7f3cda2a2ac6d05b6ec1a106f568e029 (patch)
tree488d6531d688c68713baa5c1d70fb37be198b861 /src/history.cc
parent303976e563608d8a1f4eb09ac5c9402ae5ce74fd (diff)
Converted the Ledger build system to use CMake
Diffstat (limited to 'src/history.cc')
-rw-r--r--src/history.cc4
1 files changed, 2 insertions, 2 deletions
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 <typename Edge>
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