unix: unbreak macOS < 10.14 (#4230)
This commit is contained in:
parent
6be130e1b8
commit
4785ad6337
@ -84,7 +84,8 @@
|
||||
|
||||
#if defined(__CYGWIN__) || \
|
||||
(defined(__HAIKU__) && B_HAIKU_VERSION < B_HAIKU_VERSION_1_PRE_BETA_5) || \
|
||||
(defined(__sun) && !defined(__illumos__))
|
||||
(defined(__sun) && !defined(__illumos__)) || \
|
||||
(defined(__APPLE__) && MAC_OS_X_VERSION_MIN_REQUIRED <= 101300)
|
||||
#define preadv(fd, bufs, nbufs, off) \
|
||||
pread(fd, (bufs)->iov_base, (bufs)->iov_len, off)
|
||||
#define pwritev(fd, bufs, nbufs, off) \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user