Skip to content

Commit

Permalink
removed superfluous O_BINARY
Browse files Browse the repository at this point in the history
  • Loading branch information
josch1710 committed Apr 5, 2024
1 parent 69d4a3f commit 8b9f12d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Platform_Posix.c
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ cc_result File_Create(cc_file* file, const cc_string* path) {
}
cc_result File_OpenOrCreate(cc_file* file, const cc_string* path) {
#if !defined CC_BUILD_OS2
return File_Do(file, path, O_RDWR | O_CREAT | O_BINARY);
return File_Do(file, path, O_RDWR | O_CREAT);
#else
return File_Do(file, path, O_RDWR | O_CREAT | O_BINARY);
#endif
Expand Down

0 comments on commit 8b9f12d

Please sign in to comment.