fixed compilation on MacOS

This commit is contained in:
csoler 2018-07-27 15:15:04 +02:00
parent cc1a05ddc9
commit d7c7e35d71
No known key found for this signature in database
GPG Key ID: 7BCA522266C0804C

View File

@ -1229,7 +1229,7 @@ int RsServer::StartupRetroShare()
std::vector<std::string> plugins_directories ;
#ifdef __APPLE__
plugins_directories.push_back(RsAccounts::systemPathDataDirectory()) ;
plugins_directories.push_back(RsAccounts::systemDataDirectory()) ;
#endif
#if !defined(WINDOWS_SYS) && defined(PLUGIN_DIR)
plugins_directories.push_back(std::string(PLUGIN_DIR)) ;