summary refs log tree commit diff stats
path: root/hw/core/qdev-properties-system.c
diff options
context:
space:
mode:
authorAkihiko Odaki <akihiko.odaki@daynix.com>2025-04-24 13:50:11 +0900
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2025-04-25 17:09:58 +0200
commit563cd698dffb977eea0ccfef3b95f6f9786766f3 (patch)
treed9cb8ffecf8bd0b5423a018011ae8f352c32ba48 /hw/core/qdev-properties-system.c
parent12963e79ca461db7b098c8eb00bb21cf88a250a4 (diff)
downloadfocaccia-qemu-563cd698dffb977eea0ccfef3b95f6f9786766f3.tar.gz
focaccia-qemu-563cd698dffb977eea0ccfef3b95f6f9786766f3.zip
meson: Use has_header_symbol() to check getcpu()
The use of gnu_source_prefix in the detection of getcpu() was
ineffective because the header file that declares getcpu() when
_GNU_SOURCE is defined was not included. Pass sched.h to
has_header_symbol() so that the existence of the declaration will be
properly checked.

Cc: qemu-stable@nongnu.org
Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Tested-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20250424-buildsys-v1-1-97655e3b25d7@daynix.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'hw/core/qdev-properties-system.c')
0 files changed, 0 insertions, 0 deletions