]> git.ipfire.org Git - thirdparty/qemu.git/commit
meson.build: add HAVE_GLIB_WITH_ALIGNED_ALLOC flag
authorManos Pitsidianakis <manos.pitsidianakis@linaro.org>
Thu, 3 Oct 2024 13:28:48 +0000 (16:28 +0300)
committerPaolo Bonzini <pbonzini@redhat.com>
Fri, 11 Oct 2024 10:32:17 +0000 (12:32 +0200)
commitdc43b18d2e1ed50e6c912427d5f7fbd2c62007bb
tree157be3291954da493bf02262c69fbc08c4efb0ac
parent2d308fe9c16b6b877acc82ff5d5c3436c795826b
meson.build: add HAVE_GLIB_WITH_ALIGNED_ALLOC flag

Rust crates, introduced from the next commit onwards, can optionally use
the glib allocator API and need to know whether g_aligned_alloc etc are
available.

This commit adds a define in config_host_data that depends on glib
version >= 2.72.

Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Signed-off-by: Manos Pitsidianakis <manos.pitsidianakis@linaro.org>
Link: https://lore.kernel.org/r/23f7b0cc9801d315f5d7835e30d775e133ec2fb9.1727961605.git.manos.pitsidianakis@linaro.org
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build