aboutsummaryrefslogtreecommitdiffstats
path: root/src/tests/test_rng.cpp
diff options
context:
space:
mode:
authorJack Lloyd <[email protected]>2017-12-13 17:57:31 -0500
committerJack Lloyd <[email protected]>2017-12-30 14:15:51 -0500
commit092114e11c27de26a53aefa08547cc0bc44717ca (patch)
tree38b26479b272cd6fa60deb2b995f0d116087b331 /src/tests/test_rng.cpp
parent2d3cee8b02a1823ef05eedbbd3e435131460635a (diff)
Test OS features by the feature vs the OS name
Diffstat (limited to 'src/tests/test_rng.cpp')
-rw-r--r--src/tests/test_rng.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/test_rng.cpp b/src/tests/test_rng.cpp
index 193a94379..a7a83134f 100644
--- a/src/tests/test_rng.cpp
+++ b/src/tests/test_rng.cpp
@@ -37,7 +37,7 @@
#include <botan/entropy_src.h>
#endif
-#if defined(BOTAN_TARGET_OS_TYPE_IS_UNIX)
+#if defined(BOTAN_TARGET_OS_HAS_POSIX1)
#include <unistd.h>
#include <sys/wait.h>
#endif
@@ -273,7 +273,7 @@ class Stateful_RNG_Tests : public Test
{
Test::Result result(rng_name() + " Fork Safety");
-#if defined(BOTAN_TARGET_OS_TYPE_IS_UNIX)
+#if defined(BOTAN_TARGET_OS_HAS_POSIX1)
const size_t reseed_interval = 1024;
// make sure rng is reseeded after every fork