aboutsummaryrefslogtreecommitdiff
path: root/src/ui.cpp
diff options
context:
space:
mode:
authorWladimir J. van der Laan <[email protected]>2011-09-07 18:57:11 +0200
committerWladimir J. van der Laan <[email protected]>2011-09-07 18:57:11 +0200
commita0d2f9a12dad7b33a3f12d85dee8afa4155dbc99 (patch)
tree24a475fe47ed00837fbed1836d03d933cfe7dbb2 /src/ui.cpp
parentfix the build (moved code use 'this' instead of 'window') (diff)
parentMerge pull request #500 from gavinandresen/txndeadlock (diff)
downloaddiscoin-a0d2f9a12dad7b33a3f12d85dee8afa4155dbc99.tar.xz
discoin-a0d2f9a12dad7b33a3f12d85dee8afa4155dbc99.zip
Merge branch 'master' of https://github.com/bitcoin/bitcoin
Conflicts: .gitignore
Diffstat (limited to 'src/ui.cpp')
-rw-r--r--src/ui.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui.cpp b/src/ui.cpp
index 198a27209..6b7ecdbc8 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
{