X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=compat%2Fmingw.h;h=0e3e74304138ab2f279c74599ee934ade72ae37d;hb=c4818faf81d32d940c58ab209f83b6049b33ecbb;hp=e0a6abac510610f5779e8df68fab2ad8424ce8c4;hpb=f9a2743c3529baab6de650aa3e3eb96de9386fec;p=git.git diff --git a/compat/mingw.h b/compat/mingw.h index e0a6abac5..0e3e74304 100644 --- a/compat/mingw.h +++ b/compat/mingw.h @@ -170,6 +170,15 @@ 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 + +FILE *mingw_freopen (const char *filename, const char *otype, FILE *stream); +#define freopen mingw_freopen + char *mingw_getcwd(char *pointer, int len); #define getcwd mingw_getcwd