Fixed: Compilation under OS X

--HG--
branch : develop
This commit is contained in:
kervala 2016-01-14 10:21:50 +01:00
parent bcb1aa242d
commit c8c563807d

View file

@ -635,7 +635,7 @@ static void addPaths(IProgressCallback &progress, const std::vector<std::string>
directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath() + "/Contents/Resources")); directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath() + "/Contents/Resources"));
// check in same directory as bundle (Steam) // check in same directory as bundle (Steam)
directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath()); directoryPrefixes.push_back(CPath::standardizePath(getAppBundlePath()));
#elif defined(NL_OS_UNIX) #elif defined(NL_OS_UNIX)
if (CFile::isDirectory(getRyzomSharePrefix())) directoryPrefixes.push_back(CPath::standardizePath(getRyzomSharePrefix())); if (CFile::isDirectory(getRyzomSharePrefix())) directoryPrefixes.push_back(CPath::standardizePath(getRyzomSharePrefix()));
#endif #endif