diff options
author | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-06 05:25:29 -0700 |
---|---|---|
committer | Gavin Andresen <gavinandresen@gmail.com> | 2011-09-06 05:25:29 -0700 |
commit | a79401b31d883780827db512a4eda7d1ad354a95 (patch) | |
tree | 502cc0ee416dcb0229e228a5ea43537ab84c148f | |
parent | cc558f060372cf479b7d654775edc81908fd9179 (diff) | |
parent | a687d4f574cb22ec969354dce3237558982e29d3 (diff) |
Merge pull request #496 from alexwaters/boost_fs3
Support for boost filesystem version 3
-rw-r--r-- | src/ui.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp index 198a27209a..6b7ecdbc8d 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -1805,7 +1805,11 @@ void SetStartOnSystemStartup(bool fAutoStart) { if (!fAutoStart) { +#if defined(BOOST_FILESYSTEM_VERSION) && BOOST_FILESYSTEM_VERSION >= 3 + unlink(GetAutostartFilePath().string().c_str()); +#else unlink(GetAutostartFilePath().native_file_string().c_str()); +#endif } else { |