From: Daniel P. Berrangé Date: Wed, 4 Sep 2024 08:58:19 +0000 (+0100) Subject: tests/unit: build pbkdf test on macOS X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=ebe0302ac822da214f347f6cc37a73139660bed8;p=qemu.git tests/unit: build pbkdf test on macOS Add CONFIG_DARWIN to the pbkdf test build condition, since we have a way to measure CPU time on this platform since commit bf98afc75efedf1. Reviewed-by: Philippe Mathieu-Daudé Signed-off-by: Daniel P. Berrangé --- diff --git a/tests/unit/test-crypto-pbkdf.c b/tests/unit/test-crypto-pbkdf.c index 241e1c2cf0..39264cb662 100644 --- a/tests/unit/test-crypto-pbkdf.c +++ b/tests/unit/test-crypto-pbkdf.c @@ -25,7 +25,7 @@ #include #endif -#if defined(_WIN32) || defined(RUSAGE_THREAD) +#if defined(_WIN32) || defined(RUSAGE_THREAD) || defined(CONFIG_DARWNI) #include "crypto/pbkdf.h" typedef struct QCryptoPbkdfTestData QCryptoPbkdfTestData;