Fixed build.

This commit is contained in:
Branimir Karadžić
2023-11-23 10:12:05 -08:00
parent 08baf8fa64
commit be3e348eb2
4 changed files with 26 additions and 27 deletions

View File

@@ -217,16 +217,15 @@ namespace bx
*_inOutSize = uint32_t(result);
return true;
}
return false;
#elif BX_PLATFORM_OSX
uint32_t len = *_inOutSize;
bool result = _NSGetExecutablePath(_out, &len);
if (0 == result)
{
return true;
}
#endif // BX_PLATFORM_*
return 0 == result;
#else
return false;
#endif // BX_PLATFORM_*
}
static bool getHomePath(char* _out, uint32_t* _inOutSize)