mirror of
https://github.com/mborgerson/xemu.git
synced 2025-12-01 16:10:01 +00:00
configure / meson: Move check for sys/kcov.h to meson.build
This check can be done in a much shorter way in meson.build. And while we're at it, rename the #define to HAVE_SYS_KCOV_H to match the other HAVE_someheader_H symbols that we already have. Signed-off-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20201118171052.308191-6-thuth@redhat.com> [lv: s/signal/kcov/] Signed-off-by: Laurent Vivier <laurent@vivier.eu>
This commit is contained in:
committed by
Laurent Vivier
parent
88c78f162a
commit
4a9d5f895a
@ -73,7 +73,7 @@
|
||||
#ifdef CONFIG_SENDFILE
|
||||
#include <sys/sendfile.h>
|
||||
#endif
|
||||
#ifdef CONFIG_KCOV
|
||||
#ifdef HAVE_SYS_KCOV_H
|
||||
#include <sys/kcov.h>
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user