X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=compat%2Fmingw.h;h=0e3e74304138ab2f279c74599ee934ade72ae37d;hb=878bd809d7c879f1a9ea00bdb4cb97d846ef4e93;hp=e81e752ed2716ac9fb4a6847f97db84764694b4c;hpb=49559cad6cab8af548321249d320d9bb372d1859;p=git.git diff --git a/compat/mingw.h b/compat/mingw.h index e81e752ed..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 @@ -229,6 +232,7 @@ int mingw_utime(const char *file_name, const struct utimbuf *times); #define utime mingw_utime pid_t mingw_spawnvpe(const char *cmd, const char **argv, char **env, + const char *dir, int fhin, int fhout, int fherr); void mingw_execvp(const char *cmd, char *const *argv); #define execvp mingw_execvp