diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-23 00:34:26 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-23 00:34:26 -0600 |
commit | 3fab2e1333dc0da4614900f7e231579a12d2e1c8 (patch) | |
tree | 338eaf7de5975ad48f1dd74b7d7ea9877f641c06 /src/textual.cc | |
parent | 7bd0170d51dd3cf20764b6748a9ea4884f9ee7bc (diff) | |
download | fork-ledger-3fab2e1333dc0da4614900f7e231579a12d2e1c8.tar.gz fork-ledger-3fab2e1333dc0da4614900f7e231579a12d2e1c8.tar.bz2 fork-ledger-3fab2e1333dc0da4614900f7e231579a12d2e1c8.zip |
For Boost 1.35 and earlier, use is_regular
Fixes 0F17CB7F-A000-4F99-8471-739948AD575F
Diffstat (limited to 'src/textual.cc')
-rw-r--r-- | src/textual.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/textual.cc b/src/textual.cc index 16a6e228..2b204df0 100644 --- a/src/textual.cc +++ b/src/textual.cc @@ -663,7 +663,12 @@ void instance_t::include_directive(char * line) for (filesystem::directory_iterator iter(parent_path); iter != end; ++iter) { - if (is_regular_file(*iter)) { +#if BOOST_VERSION <= 103500 + if (is_regular(*iter)) +#else + if (is_regular_file(*iter)) +#endif + { #if BOOST_VERSION >= 103700 string base = (*iter).filename(); #else // BOOST_VERSION >= 103700 |