aboutsummaryrefslogtreecommitdiff
path: root/include/mingw.h
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2021-02-12 14:02:28 +0000
committerRon Yorston <rmy@pobox.com>2021-02-12 14:02:28 +0000
commite86a3ddd8b60eb0720874f5b9679446d12a1ac41 (patch)
treef35332dccaec68bfd182f705dcec0b2297d3a578 /include/mingw.h
parent90f35327c2f31b7e4d938bf4d54e5526e53daee0 (diff)
downloadbusybox-w32-e86a3ddd8b60eb0720874f5b9679446d12a1ac41.tar.gz
busybox-w32-e86a3ddd8b60eb0720874f5b9679446d12a1ac41.tar.bz2
busybox-w32-e86a3ddd8b60eb0720874f5b9679446d12a1ac41.zip
win32: make readlink(2) implementation unconditional
There doesn't seem to be much advantage in having readlink(2) as a configuration option. Making it unconditional reduces divergence from upstream and allows the removal of a check for ENOSYS that's been in busybox-w32 since the start.
Diffstat (limited to 'include/mingw.h')
-rw-r--r--include/mingw.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/mingw.h b/include/mingw.h
index 236c955d8..713205ef9 100644
--- a/include/mingw.h
+++ b/include/mingw.h
@@ -433,11 +433,7 @@ ssize_t mingw_open_read_close(const char *fn, void *buf, size_t size) FAST_FUNC;
433ssize_t mingw_read(int fd, void *buf, size_t count); 433ssize_t mingw_read(int fd, void *buf, size_t count);
434int mingw_close(int fd); 434int mingw_close(int fd);
435int pipe(int filedes[2]); 435int pipe(int filedes[2]);
436#if ENABLE_FEATURE_READLINK2
437ssize_t readlink(const char *pathname, char *buf, size_t bufsiz); 436ssize_t readlink(const char *pathname, char *buf, size_t bufsiz);
438#else
439NOIMPL(readlink,const char *path UNUSED_PARAM, char *buf UNUSED_PARAM, size_t bufsiz UNUSED_PARAM);
440#endif
441NOIMPL(setgid,gid_t gid UNUSED_PARAM); 437NOIMPL(setgid,gid_t gid UNUSED_PARAM);
442NOIMPL(setegid,gid_t gid UNUSED_PARAM); 438NOIMPL(setegid,gid_t gid UNUSED_PARAM);
443NOIMPL(setsid,void); 439NOIMPL(setsid,void);