Detect FreeBSD versions with broken MSG_CMSG_CLOEXEC
authorAlex Richardson <Alexander.Richardson@cl.cam.ac.uk>
Fri, 19 Mar 2021 10:02:41 +0000 (10:02 +0000)
committerAlexander Richardson <alexander.richardson@cl.cam.ac.uk>
Fri, 10 Sep 2021 11:35:54 +0000 (11:35 +0000)
commit382f368a2795cacbe0f3690f9bf5be749f9f0f5e
tree919cca635c9d1372f99c312d3c5f4cabe2e80f05
parent42bf011f65a1aa5b7dcb664026b02c48170d07a5
Detect FreeBSD versions with broken MSG_CMSG_CLOEXEC

If we are compiling against a version of FreeBSD where MSG_CMSG_CLOEXEC
does not work, use the fallback directly. This was only fixed recently
(in https://cgit.freebsd.org/src/commit/?id=6ceacebdf52211).

Signed-off-by: Alex Richardson <Alexander.Richardson@cl.cam.ac.uk>
meson.build
src/wayland-os.c
tests/os-wrappers-test.c