summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils.h b/src/utils.h
index ad9b0562..e1a03d79 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -93,10 +93,12 @@ namespace ledger {
}
#if BOOST_FILESYSTEM_VERSION == 3
+#if defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
namespace boost { namespace filesystem3 { namespace path_traits {
template<> struct is_pathable<ledger::string> { static const bool value = true; };
}}}
-#endif
+#endif // defined(VERIFY_ON) || defined(HAVE_BOOST_PYTHON)
+#endif // BOOST_FILESYSTEM_VERSION == 3
/*@}*/