summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorEliot Horowitz <eliot@10gen.com>2011-03-03 10:15:10 -0500
committerEliot Horowitz <eliot@10gen.com>2011-03-03 10:15:10 -0500
commit0229a329b590d77c87d539e0e2146228c940c9b7 (patch)
tree9b59d12056205cf9a5a2d29634ccb9e8a5564600 /tools
parent6510ec1389f7d17c627c719bbae23dcbe26af39f (diff)
downloadmongo-0229a329b590d77c87d539e0e2146228c940c9b7.tar.gz
fix boost 1.45
Diffstat (limited to 'tools')
-rw-r--r--tools/tool.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/tool.cpp b/tools/tool.cpp
index e485f02dbc4..f687269cf00 100644
--- a/tools/tool.cpp
+++ b/tools/tool.cpp
@@ -101,7 +101,11 @@ namespace mongo {
// we want durability to be disabled.
cmdLine.dur = false;
- boost::filesystem::path::default_name_check( boost::filesystem::no_check );
+#if( BOOST_VERSION >= 104500 )
+ boost::filesystem::path::default_name_check( boost::filesystem2::no_check );
+#else
+ boost::filesystem::path::default_name_check( boost::filesystem::no_check );
+#endif
_name = argv[0];