diff options
author | Ron Yorston <rmy@pobox.com> | 2018-02-21 09:58:22 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2018-02-21 09:58:22 +0000 |
commit | 5b5cb69bf3e16e4170d4206621682a12d441c87f (patch) | |
tree | e17c977154aa2e0a54dd1acef5c8d6a8ada72624 /include | |
parent | a1401e340043ac2829757be5c5f546d0ce7eadc7 (diff) | |
download | busybox-w32-5b5cb69bf3e16e4170d4206621682a12d441c87f.tar.gz busybox-w32-5b5cb69bf3e16e4170d4206621682a12d441c87f.tar.bz2 busybox-w32-5b5cb69bf3e16e4170d4206621682a12d441c87f.zip |
win32: import fsync(2) implementation from gnulib
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 2 | ||||
-rw-r--r-- | include/platform.h | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h index 6f69913d6..a59ce6fc4 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -390,7 +390,7 @@ NOIMPL(getsid,pid_t pid UNUSED_PARAM); | |||
390 | IMPL(getuid,int,DEFAULT_UID,void); | 390 | IMPL(getuid,int,DEFAULT_UID,void); |
391 | int getlogin_r(char *buf, size_t len); | 391 | int getlogin_r(char *buf, size_t len); |
392 | int fcntl(int fd, int cmd, ...); | 392 | int fcntl(int fd, int cmd, ...); |
393 | IMPL(fsync,int,0,int fd UNUSED_PARAM); | 393 | int fsync(int fd); |
394 | int kill(pid_t pid, int sig); | 394 | int kill(pid_t pid, int sig); |
395 | int link(const char *oldpath, const char *newpath); | 395 | int link(const char *oldpath, const char *newpath); |
396 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); | 396 | NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); |
diff --git a/include/platform.h b/include/platform.h index cc22f4fc9..ee13e1b1e 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -442,6 +442,7 @@ typedef unsigned smalluint; | |||
442 | #endif | 442 | #endif |
443 | 443 | ||
444 | #if ENABLE_PLATFORM_MINGW32 | 444 | #if ENABLE_PLATFORM_MINGW32 |
445 | # undef HAVE_FDATASYNC | ||
445 | # undef HAVE_DPRINTF | 446 | # undef HAVE_DPRINTF |
446 | # undef HAVE_GETLINE | 447 | # undef HAVE_GETLINE |
447 | # undef HAVE_MEMRCHR | 448 | # undef HAVE_MEMRCHR |