diff options
author | John Wiegley <johnw@newartisans.com> | 2005-09-26 05:40:55 +0000 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2008-04-13 02:41:18 -0400 |
commit | b462a8bf5076ea7376acdc8f7e12054c7f70bdb9 (patch) | |
tree | e65bd9c999f3e6f00e138fb3bda87e41a5b44a06 /textual.cc | |
parent | 1d49b9451226ec2d2a52c247421dd9d3f9aa582c (diff) | |
download | ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.tar.gz ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.tar.bz2 ledger-b462a8bf5076ea7376acdc8f7e12054c7f70bdb9.zip |
*** empty log message ***
Diffstat (limited to 'textual.cc')
-rw-r--r-- | textual.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -400,7 +400,7 @@ bool textual_parser_t::test(std::istream& in) const in.read(buf, 5); if (std::strncmp(buf, "<?xml", 5) == 0) { -#ifdef HAVE_XMLPARSE +#if defined(HAVE_EXPAT) || defined(HAVE_XMLPARSE) throw parse_error(path, linenum, "Ledger file contains XML data, but format was not recognized"); #else throw parse_error(path, linenum, "Ledger file contains XML data, but no XML support present"); |