From e5c7809ae0734715f4c1ab5fe476e0b04c4b2a59 Mon Sep 17 00:00:00 2001 From: Jack Lloyd Date: Fri, 12 Jan 2018 11:21:09 -0500 Subject: Move thread utils (barrier and semaphore) to a subpackage of util They are not needed except by the filter code so being able to easily remove them from the build is nice; utils is always compiled in so that should be as small as possible. --- src/tests/test_filters.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tests') diff --git a/src/tests/test_filters.cpp b/src/tests/test_filters.cpp index 8133e4bc9..ef80e1221 100644 --- a/src/tests/test_filters.cpp +++ b/src/tests/test_filters.cpp @@ -709,7 +709,7 @@ class Filter_Tests final : public Test { Test::Result result("Threaded_Fork"); -#if defined(BOTAN_TARGET_OS_HAS_THREADS) && defined(BOTAN_HAS_CODEC_FILTERS) && defined(BOTAN_HAS_SHA2_32) +#if defined(BOTAN_HAS_THREAD_UTILS) && defined(BOTAN_HAS_CODEC_FILTERS) && defined(BOTAN_HAS_SHA2_32) Botan::Pipe pipe(new Botan::Threaded_Fork(new Botan::Hex_Encoder, new Botan::Base64_Encoder)); result.test_eq("Message count", pipe.message_count(), 0); -- cgit v1.2.3