port: clean up previous PR

This commit is contained in:
fgsfds committed 2025-04-27 15:34:25 +02:00
1 parent 9d2db1a346
commit f96a03e60f
6 files changed
+433 -456

No files matched your search

+3 -2
View File
@@ -284,10 +284,11 @@ void fsFileFree(FILE *f)
fclose(f);
}
s32 fsCreateDir(const char *path) {
s32 fsCreateDir(const char *path)
{
#ifdef PLATFORM_WIN32
return _mkdir(fsFullPath(path));
#else
return mkdir(fsFullPath(path), S_IRWXU | S_IRWXG);
return mkdir(fsFullPath(path), 0777);
#endif
}