summaryrefslogtreecommitdiff
path: root/py_eval.cc
diff options
context:
space:
mode:
Diffstat (limited to 'py_eval.cc')
-rw-r--r--py_eval.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/py_eval.cc b/py_eval.cc
index bb7a2010..3baa3d30 100644
--- a/py_eval.cc
+++ b/py_eval.cc
@@ -19,7 +19,7 @@ void export_parser();
void export_textual();
void export_binary();
void export_qif();
-#ifdef HAVE_XMLPARSE
+#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
void export_xml();
void export_gnucash();
#endif
@@ -46,7 +46,7 @@ void initialize_ledger_for_python()
export_textual();
export_binary();
export_qif();
-#ifdef HAVE_XMLPARSE
+#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE)
export_xml();
export_gnucash();
#endif