Files
libvirt/scripts/rpcgen/tests
Roman Bogorodskiy 2c66b6d72c build: add detection of xdrproc_t arguments count
According to 9fa3a8ab6f,
macOS insists on passing 3 arguments for xdrproc_t.

Passing 3 arguments was a good common ground, but since
recently[1] FreeBSD only accepts 2 arguments.

Add a meson.build check whether 3 arguments are accepted,
and add macros which passes either 2 or 3 arguments to
xdrproc_t based on the result of this check.

1: https://cgit.freebsd.org/src/commit/?id=ac5a19ec6989675c8ec6c3ca245dba243d1a6416

Signed-off-by: Roman Bogorodskiy <bogorodskiy@gmail.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
2026-02-02 19:03:34 +01:00
..
2023-11-03 14:06:35 -04:00
2023-11-03 14:06:35 -04:00
2023-12-01 13:50:16 +01:00
2023-11-03 14:06:35 -04:00