diff options
author | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-05 14:31:27 +0200 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2023-10-17 15:20:53 +0200 |
commit | 230f6e06b83474314898f27c0a7b2f0593071875 (patch) | |
tree | e284eff89e498a4a22c95ab40a0b1c48173bef0b /tests | |
parent | 9bad39c7e86a7fea05b66e7d3425f5874b3bbcfb (diff) | |
download | qemu-230f6e06b83474314898f27c0a7b2f0593071875.zip qemu-230f6e06b83474314898f27c0a7b2f0593071875.tar.gz qemu-230f6e06b83474314898f27c0a7b2f0593071875.tar.bz2 |
meson: do not use set10
Make all items of config-host.h consistent. To keep the --disable-coroutine-pool
code visible to the compiler, mutuate the IS_ENABLED() macro from Linux.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/test-coroutine.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/test-coroutine.c b/tests/unit/test-coroutine.c index b0d21d6..a256364 100644 --- a/tests/unit/test-coroutine.c +++ b/tests/unit/test-coroutine.c @@ -645,7 +645,7 @@ int main(int argc, char **argv) * with a sentinel value. If there is no freelist this would legitimately * crash, so skip it. */ - if (CONFIG_COROUTINE_POOL) { + if (IS_ENABLED(CONFIG_COROUTINE_POOL)) { g_test_add_func("/basic/no-dangling-access", test_no_dangling_access); } |