diff options
Diffstat (limited to 'src/sys/sys_osx.m')
-rw-r--r-- | src/sys/sys_osx.m | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/sys/sys_osx.m b/src/sys/sys_osx.m index 1efd08c0..5d567a7f 100644 --- a/src/sys/sys_osx.m +++ b/src/sys/sys_osx.m @@ -37,28 +37,6 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #import <Cocoa/Cocoa.h> /* -================ -Sys_TempPath -================ -*/ -const char *Sys_TempPath( void ) -{ - static UInt8 posixPath[ MAX_OSPATH ]; - FSRef ref; - if( FSFindFolder( kOnAppropriateDisk, - kTemporaryFolderType, kCreateFolder, &ref ) == noErr ) - { - if( FSRefMakePath( &ref, posixPath, - sizeof( posixPath ) - 1 ) == noErr ) - { - return (const char *)posixPath; - } - } - - return "/tmp"; -} - -/* ============== Sys_Dialog |