Fix find evaluation on newer versions of clang (and 64-bit macs)
This commit is contained in:
committed by
Inusaito Sayori
parent
76616ee6f6
commit
2db2c96329
@@ -150,7 +150,7 @@ LLDir_Mac::LLDir_Mac()
|
|||||||
CFURLRef resourcesURLRef = CFBundleCopyResourcesDirectoryURL(mainBundleRef);
|
CFURLRef resourcesURLRef = CFBundleCopyResourcesDirectoryURL(mainBundleRef);
|
||||||
CFURLRefToLLString(resourcesURLRef, mAppRODataDir, true);
|
CFURLRefToLLString(resourcesURLRef, mAppRODataDir, true);
|
||||||
|
|
||||||
U32 build_dir_pos = mExecutableDir.rfind("/indra/build-darwin-");
|
size_t build_dir_pos = mExecutableDir.rfind("/indra/build-darwin-");
|
||||||
if (build_dir_pos != std::string::npos)
|
if (build_dir_pos != std::string::npos)
|
||||||
{
|
{
|
||||||
// ...we're in a dev checkout
|
// ...we're in a dev checkout
|
||||||
|
|||||||
Reference in New Issue
Block a user