Get user directory on Mac
This commit is contained in:
parent
3b259f6088
commit
0c56653397
|
@ -48,7 +48,10 @@ system_get_path_sig(){
|
||||||
|
|
||||||
case SystemPath_UserDirectory:
|
case SystemPath_UserDirectory:
|
||||||
{
|
{
|
||||||
|
char *home_cstr = getenv("HOME");
|
||||||
|
if (home_cstr != 0){
|
||||||
|
result = push_u8_stringf(arena, "%s/.4coder/", home_cstr);
|
||||||
|
}
|
||||||
}break;
|
}break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue