mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-29 05:13:54 -06:00
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 bf98afc75e
.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
b0fe44b56b
commit
ebe0302ac8
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
|||
#include <sys/resource.h>
|
||||
#endif
|
||||
|
||||
#if defined(_WIN32) || defined(RUSAGE_THREAD)
|
||||
#if defined(_WIN32) || defined(RUSAGE_THREAD) || defined(CONFIG_DARWNI)
|
||||
#include "crypto/pbkdf.h"
|
||||
|
||||
typedef struct QCryptoPbkdfTestData QCryptoPbkdfTestData;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue