From 8b9f12db85ec1ebcf11d2690a1de437443526d54 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jochen=20Sch=C3=A4fer?= Date: Fri, 5 Apr 2024 08:14:57 +0200 Subject: [PATCH] removed superfluous O_BINARY --- src/Platform_Posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Platform_Posix.c b/src/Platform_Posix.c index 4959c00bc..77a592bd3 100644 --- a/src/Platform_Posix.c +++ b/src/Platform_Posix.c @@ -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