make default open mode O_BINARY

This commit is contained in:
Johannes Schindelin
2006-09-19 18:48:25 +02:00
committed by Johannes Sixt
parent 27317da439
commit 8d1bfddd0c

View File

@@ -1,6 +1,10 @@
#include <stdint.h>
#include <stdlib.h>
#include <fcntl.h>
#include "../git-compat-util.h"
unsigned int _CRT_fmode = _O_BINARY;
int readlink(const char *path, char *buf, size_t bufsiz)
{
errno = EINVAL;