Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/mingw/binmode.c')
-rw-r--r--winsup/mingw/binmode.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/winsup/mingw/binmode.c b/winsup/mingw/binmode.c
new file mode 100644
index 000000000..1cc3dedbf
--- /dev/null
+++ b/winsup/mingw/binmode.c
@@ -0,0 +1,5 @@
+#include <fcntl.h>
+
+/* Set default file mode to binary */
+
+int _fmode = _O_BINARY;