change make_directory behavior on Linux to match Windows behavior

This commit is contained in:
Nikita Smith
2026-06-02 12:10:32 -07:00
committed by Ryan Fleury
parent a1f0df2d76
commit 5089a01058
2 changed files with 6 additions and 0 deletions
+5
View File
@@ -1159,6 +1159,11 @@ make_directory(String8 path)
{ {
result = 1; result = 1;
} }
else
{
// match windows behavior
result = file_path_exists(path);
}
scratch_end(scratch); scratch_end(scratch);
return result; return result;
} }
@@ -0,0 +1 @@