Update source to v6.8.18240.20051

Previous source was actually for 6.1...
This commit is contained in:
Will Pearson
2018-09-15 11:26:15 -07:00
committed by Bozo
parent 0ae09c4811
commit 5f462fed0d
124 changed files with 27735 additions and 4925 deletions

View File

@@ -43,6 +43,10 @@
#endif
#endif
#if defined(ON_RUNTIME_APPLE)
#include "unistd.h" //for unlink
#endif
///////////////////////////////////////////////////////////////////////////////
void ON_String::SplitPath(
@@ -1700,7 +1704,7 @@ const ON_wString ON_FileSystemPath::PlatformPath( ON_FileSystemPath::PathId path
#if defined(ON_RUNTIME_WIN)
KNOWNFOLDERID platform_path_id;
#define ON_INTERNAL_SET_LOCAL_DIRECTORY_ID(win_fid,apple_fid) platform_path_id = win_fid
#elif defined(ON_RUNTIME_APPLE)
#elif defined(ON_RUNTIME_APPLE_OBJECTIVE_C_AVAILABLE)
NSSearchPathDirectory platform_path_id;
#define ON_INTERNAL_SET_LOCAL_DIRECTORY_ID(win_fid,apple_fid) platform_path_id = apple_fid
#endif
@@ -1743,7 +1747,7 @@ const ON_wString ON_FileSystemPath::PlatformPath( ON_FileSystemPath::PathId path
CoTaskMemFree(windows_path);
}
#elif defined(ON_RUNTIME_APPLE)
#elif defined(ON_RUNTIME_APPLE_OBJECTIVE_C_AVAILABLE)
NSArray *apple_paths = NSSearchPathForDirectoriesInDomains(platform_path_id, NSUserDomainMask, YES);
if ([apple_paths count] > 0)