diff options
author | Michal Privoznik <mprivozn@redhat.com> | 2024-06-05 12:44:54 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-08 10:33:38 +0200 |
commit | 12d7d0c2496efe6325e73b04578213b8ad0af093 (patch) | |
tree | 220d23f49c2178ac5f3d84461f2a6a389053d56a /net/vhost-vdpa.c | |
parent | 75dbebddb6a0f15bdfdae66d63de4905c793ccdb (diff) |
meson: Don't even detect posix_madvise() on Darwin
On Darwin, posix_madvise() has the same return semantics as plain
madvise() [1]. That's not really what our usage expects.
Fortunately, madvise() is available and preferred anyways so we
may stop detecting posix_madvise() on Darwin.
1: https://opensource.apple.com/source/xnu/xnu-7195.81.3/bsd/man/man2/madvise.2.auto.html
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
Message-ID: <00f71753bdeb8c0f049fda05fb63b84bb5502fb3.1717584048.git.mprivozn@redhat.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'net/vhost-vdpa.c')
0 files changed, 0 insertions, 0 deletions