summaryrefslogtreecommitdiff
path: root/src/ofx.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-01-31 18:52:34 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-01-31 18:52:34 -0400
commit9d267fa1331a570e2b4c978f0b35a107a47b51c1 (patch)
treeed8c5bc7d5b3b2024fb4fee80f4ec86332fb277f /src/ofx.cc
parent75daee6a5df8154ecd6011f93af746105529a13d (diff)
downloadledger-9d267fa1331a570e2b4c978f0b35a107a47b51c1.tar.gz
ledger-9d267fa1331a570e2b4c978f0b35a107a47b51c1.tar.bz2
ledger-9d267fa1331a570e2b4c978f0b35a107a47b51c1.zip
Inspired by Omari Norman, I've rewritten main.cc so it's easy to approach.
Diffstat (limited to 'src/ofx.cc')
-rw-r--r--src/ofx.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ofx.cc b/src/ofx.cc
index 4a54eaad..2e4a9d5d 100644
--- a/src/ofx.cc
+++ b/src/ofx.cc
@@ -34,6 +34,8 @@
#include "account.h"
#include "session.h"
+#if defined(HAVE_LIBOFX)
+
#include <libofx.h>
namespace ledger {
@@ -261,3 +263,5 @@ std::size_t ofx_parser_t::parse(std::istream& in,
}
} // namespace ledger
+
+#endif HAVE_LIBOFX