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