Merge branch 'js/maint-windows'
* js/maint-windows: Recent MinGW has a C99 implementation of snprintf functions mingw: use _commit to implement fsync
This commit is contained in:
commit
04d30ce622
1
Makefile
1
Makefile
@ -1040,7 +1040,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
|
|||||||
NO_STRTOUMAX = YesPlease
|
NO_STRTOUMAX = YesPlease
|
||||||
NO_MKDTEMP = YesPlease
|
NO_MKDTEMP = YesPlease
|
||||||
NO_MKSTEMPS = YesPlease
|
NO_MKSTEMPS = YesPlease
|
||||||
SNPRINTF_RETURNS_BOGUS = YesPlease
|
|
||||||
NO_SVN_TESTS = YesPlease
|
NO_SVN_TESTS = YesPlease
|
||||||
NO_PERL_MAKEMAKER = YesPlease
|
NO_PERL_MAKEMAKER = YesPlease
|
||||||
RUNTIME_PREFIX = YesPlease
|
RUNTIME_PREFIX = YesPlease
|
||||||
|
@ -80,7 +80,7 @@ static inline int fork(void)
|
|||||||
static inline unsigned int alarm(unsigned int seconds)
|
static inline unsigned int alarm(unsigned int seconds)
|
||||||
{ return 0; }
|
{ return 0; }
|
||||||
static inline int fsync(int fd)
|
static inline int fsync(int fd)
|
||||||
{ return 0; }
|
{ return _commit(fd); }
|
||||||
static inline int getppid(void)
|
static inline int getppid(void)
|
||||||
{ return 1; }
|
{ return 1; }
|
||||||
static inline void sync(void)
|
static inline void sync(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user