mirror of
https://github.com/twisterarmy/twister-core.git
synced 2025-01-11 07:17:53 +00:00
Support for boost filesystem version 3
This commit is contained in:
parent
7464e647de
commit
a687d4f574
@ -1805,7 +1805,11 @@ void SetStartOnSystemStartup(bool fAutoStart)
|
|||||||
{
|
{
|
||||||
if (!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());
|
unlink(GetAutostartFilePath().native_file_string().c_str());
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user