git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
7464e64
)
Support for boost filesystem version 3
author
Luke Dashjr
<luke-jr+git@utopios.org>
Fri, 19 Aug 2011 16:45:27 +0000 (12:45 -0400)
committer
Luke Dashjr
<luke-jr+git@utopios.org>
Sat, 3 Sep 2011 15:24:45 +0000 (11:24 -0400)
src/ui.cpp
patch
|
blob
|
history
diff --git
a/src/ui.cpp
b/src/ui.cpp
index
198a272
..
6b7ecdb
100644
(file)
--- 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
{