X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=compat%2Fmingw.h;h=0e3e74304138ab2f279c74599ee934ade72ae37d;hb=ea5f75a64ae52590b06713d45d84de03ca109ccc;hp=7c2ab64cb4eb7532c2495383ab0e7eefb329bcf9;hpb=72d9b222a940c93a8d915c26a4d5d077e23be871;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