removed superfluous O_BINARY

This commit is contained in:
Jochen Schäfer 2024-04-05 08:14:57 +02:00
parent 69d4a3f0ff
commit 8b9f12db85

View File

@ -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