Merge pull request #496 from alexwaters/boost_fs3
Support for boost filesystem version 3
This commit is contained in:
commit
a79401b31d
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue