X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=compat%2Fmingw.h;h=0e3e74304138ab2f279c74599ee934ade72ae37d;hb=878bd809d7c879f1a9ea00bdb4cb97d846ef4e93;hp=7c2ab64cb4eb7532c2495383ab0e7eefb329bcf9;hpb=ddb27a5a6b5ed74c70d56c96592b32eed415d72b;p=git.git diff --git a/compat/mingw.h b/compat/mingw.h index 7c2ab64cb..0e3e74304 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -170,6 +170,9 @@ int link(const char *oldpath, const char *newpath); int mingw_open (const char *filename, int oflags, ...); #define open mingw_open +ssize_t mingw_write(int fd, const void *buf, size_t count); +#define write mingw_write + FILE *mingw_fopen (const char *filename, const char *otype); #define fopen mingw_fopen