mirror of
https://github.com/perfect-dark-pc-port/perfect_dark.git
synced 2026-10-24 00:02:43 +02:00
port: clean up previous PR
This commit is contained in:
1 parent
9d2db1a346
commit
f96a03e60f
6 files changed
+433
-456
No files matched your search
+3
-2
@@ -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
|
||||
}
|
||||
Reference in new issue
Block a user