Browse Source

Support for boost filesystem version 3

pull/1/head
Luke Dashjr 11 years ago
parent
commit
a687d4f574
  1. 4
      src/ui.cpp

4
src/ui.cpp

@ -1805,7 +1805,11 @@ void SetStartOnSystemStartup(bool fAutoStart) @@ -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
{

Loading…
Cancel
Save