summaryrefslogtreecommitdiff
path: root/src/textual.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/textual.cc')
-rw-r--r--src/textual.cc7
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