aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-02-21 09:58:22 +0000
committerRon Yorston <rmy@pobox.com>2018-02-21 09:58:22 +0000
commit5b5cb69bf3e16e4170d4206621682a12d441c87f (patch)
treee17c977154aa2e0a54dd1acef5c8d6a8ada72624 /include
parenta1401e340043ac2829757be5c5f546d0ce7eadc7 (diff)
downloadbusybox-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.h2
-rw-r--r--include/platform.h1
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);
390IMPL(getuid,int,DEFAULT_UID,void); 390IMPL(getuid,int,DEFAULT_UID,void);
391int getlogin_r(char *buf, size_t len); 391int getlogin_r(char *buf, size_t len);
392int fcntl(int fd, int cmd, ...); 392int fcntl(int fd, int cmd, ...);
393IMPL(fsync,int,0,int fd UNUSED_PARAM); 393int fsync(int fd);
394int kill(pid_t pid, int sig); 394int kill(pid_t pid, int sig);
395int link(const char *oldpath, const char *newpath); 395int link(const char *oldpath, const char *newpath);
396NOIMPL(mknod,const char *name UNUSED_PARAM, mode_t mode UNUSED_PARAM, dev_t device UNUSED_PARAM); 396NOIMPL(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