Merge branch 'js/maint-windows' into next

* js/maint-windows:
  Recent MinGW has a C99 implementation of snprintf functions
  mingw: use _commit to implement fsync
This commit is contained in:
Junio C Hamano
2010-05-21 04:04:38 -07:00
2 changed files with 1 additions and 2 deletions

View File

@@ -80,7 +80,7 @@ static inline int fork(void)
static inline unsigned int alarm(unsigned int seconds)
{ return 0; }
static inline int fsync(int fd)
{ return 0; }
{ return _commit(fd); }
static inline int getppid(void)
{ return 1; }
static inline void sync(void)