diff options
author | Jack Lloyd <[email protected]> | 2018-01-12 11:21:09 -0500 |
---|---|---|
committer | Jack Lloyd <[email protected]> | 2018-01-12 12:10:34 -0500 |
commit | e5c7809ae0734715f4c1ab5fe476e0b04c4b2a59 (patch) | |
tree | 3a236b0356d05869b43add9ae8b1bf25e1fbe8d4 /src/tests | |
parent | 3099e920495c8e881387363de8e1b0bf7d1d5292 (diff) |
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.
Diffstat (limited to 'src/tests')
-rw-r--r-- | src/tests/test_filters.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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); |