summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-03-25 16:42:49 -0400
committerJohn Wiegley <johnw@newartisans.com>2011-03-25 16:42:49 -0400
commit0759071565bf5efde7abc1ef16b2eddc3bba21b6 (patch)
tree1aaf856166e6660d2e732e0cf50c7fe0f0f39a0a
parent052ff30c162b63787400f571d4c32cc67ac2dcec (diff)
downloadfork-ledger-0759071565bf5efde7abc1ef16b2eddc3bba21b6.tar.gz
fork-ledger-0759071565bf5efde7abc1ef16b2eddc3bba21b6.tar.bz2
fork-ledger-0759071565bf5efde7abc1ef16b2eddc3bba21b6.zip
Another fix for Boost.Filesystem v3
-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
/*@}*/