summaryrefslogtreecommitdiff
path: root/xml.h
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2006-07-20 02:17:48 +0000
committerJohn Wiegley <johnw@newartisans.com>2008-04-13 02:41:32 -0400
commitbec5f1c07af7948eb26a7cbafc6d191cfbb77d97 (patch)
tree69a72226d27a962fddfeb6a2901c3cb2bf1009b9 /xml.h
parent1368952f4cf51a195e4432a68ece87cd90b38a8b (diff)
downloadledger-bec5f1c07af7948eb26a7cbafc6d191cfbb77d97.tar.gz
ledger-bec5f1c07af7948eb26a7cbafc6d191cfbb77d97.tar.bz2
ledger-bec5f1c07af7948eb26a7cbafc6d191cfbb77d97.zip
*** empty log message ***
Diffstat (limited to 'xml.h')
-rw-r--r--xml.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/xml.h b/xml.h
index 17b01bb7..13bf317c 100644
--- a/xml.h
+++ b/xml.h
@@ -6,6 +6,8 @@
namespace ledger {
+#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
+
class xml_parser_t : public parser_t
{
public:
@@ -18,6 +20,8 @@ class xml_parser_t : public parser_t
const std::string * original_file = NULL);
};
+#endif
+
class format_xml_entries : public format_entries
{
bool show_totals;