mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
Fix issues with OSX
This commit is contained in:
+1
-1
@@ -7991,7 +7991,7 @@ gb_inline b32 gb_file_move(char const *existing_filename, char const *new_filena
|
||||
|
||||
b32 gb_file_remove(char const *filename) {
|
||||
#if defined(GB_SYSTEM_OSX)
|
||||
return unlink(existing_filename) != -1;
|
||||
return unlink(filename) != -1;
|
||||
#else
|
||||
return remove(filename) == 0;
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user