forked from OSchip/llvm-project
[Support] fix user_cache_directory on mac
This commit is contained in:
parent
bfd84b1c03
commit
d7ea6ce809
|
@ -1193,7 +1193,7 @@ bool user_config_directory(SmallVectorImpl<char> &result) {
|
|||
#ifdef __APPLE__
|
||||
// Mac: ~/Library/Preferences/
|
||||
if (home_directory(result)) {
|
||||
append("Library", "Preferences");
|
||||
append(result, "Library", "Preferences");
|
||||
return true;
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue