mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-27 18:43:48 +00:00
mac compilation and standarization fixes
compresses void tc_spinloop() for both unix derivatives and apples to utilize pthread_yield_np(); mac only tweaks to Platform::getUserHomeDirectory() to return the ~/documents directory for parity with windows results
This commit is contained in:
parent
6fe51cd9c3
commit
cddacf1c48
2 changed files with 10 additions and 12 deletions
|
|
@ -97,7 +97,7 @@ const char* Platform::getUserDataDirectory()
|
|||
//-----------------------------------------------------------------------------
|
||||
const char* Platform::getUserHomeDirectory()
|
||||
{
|
||||
return StringTable->insert([[@"~/" stringByStandardizingPath] UTF8String]);
|
||||
return StringTable->insert([[@"~/Documents" stringByStandardizingPath] UTF8String]);
|
||||
}
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue