summaryrefslogtreecommitdiff
path: root/src/main.cc
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-28 16:24:15 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-28 16:24:15 -0500
commit8388baafd3e2c6e4b2f76878215d503e8842da27 (patch)
tree246422575a6338acfc946ce501ae4e2df056ccf1 /src/main.cc
parent021fc50842a85d8357ca70c13e35b169a4d91e29 (diff)
downloadfork-ledger-8388baafd3e2c6e4b2f76878215d503e8842da27.tar.gz
fork-ledger-8388baafd3e2c6e4b2f76878215d503e8842da27.tar.bz2
fork-ledger-8388baafd3e2c6e4b2f76878215d503e8842da27.zip
Support Boost 1.46 and Boost.Filesystem v3
Diffstat (limited to 'src/main.cc')
-rw-r--r--src/main.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cc b/src/main.cc
index ef611f51..820f920d 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -67,7 +67,9 @@ int main(int argc, char * argv[], char * envp[])
// Initialize global Boost/C++ environment
std::ios::sync_with_stdio(false);
+#if BOOST_VERSION < 104600
filesystem::path::default_name_check(filesystem::portable_posix_name);
+#endif
std::signal(SIGINT, sigint_handler);
#ifndef WIN32