aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-06-07 09:05:40 +0100
committerRon Yorston <rmy@pobox.com>2021-06-07 11:31:38 +0100
commit1f33f42d7bcb019b268d938df643a7a785dc19ab (patch)
treee22bbb65d61f787f433026bc3cc21bc51f8a2627 /include
parentac0170d5c908343ed3fe6a222bfda2689909b27f (diff)
downloadbusybox-w32-1f33f42d7bcb019b268d938df643a7a785dc19ab.tar.gz
busybox-w32-1f33f42d7bcb019b268d938df643a7a785dc19ab.tar.bz2
busybox-w32-1f33f42d7bcb019b268d938df643a7a785dc19ab.zip
sync: enable in default configuration
Enable the sync applet by default. It doesn't actually do anything useful but at least it prevents some scripts from failing.
Diffstat (limited to 'include')
-rw-r--r--include/mingw.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 367aa7cdc..49e792b69 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -471,7 +471,7 @@ NOIMPL(setuid,uid_t gid UNUSED_PARAM);
471NOIMPL(seteuid,uid_t gid UNUSED_PARAM); 471NOIMPL(seteuid,uid_t gid UNUSED_PARAM);
472unsigned int sleep(unsigned int seconds); 472unsigned int sleep(unsigned int seconds);
473int symlink(const char *target, const char *linkpath); 473int symlink(const char *target, const char *linkpath);
474static inline void sync(void) {} 474static inline void sync(void) { sleep(2); }
475long sysconf(int name); 475long sysconf(int name);
476IMPL(getpagesize,int,4096,void); 476IMPL(getpagesize,int,4096,void);
477NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM); 477NOIMPL(ttyname_r,int fd UNUSED_PARAM, char *buf UNUSED_PARAM, int sz UNUSED_PARAM);