summaryrefslogtreecommitdiff
path: root/src/crypto/thread_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/thread_test.cc')
-rw-r--r--src/crypto/thread_test.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/thread_test.cc b/src/crypto/thread_test.cc
index f89b22ec..f9fad9be 100644
--- a/src/crypto/thread_test.cc
+++ b/src/crypto/thread_test.cc
@@ -25,7 +25,7 @@
#include "test/test_util.h"
-#if !defined(OPENSSL_NO_THREADS)
+#if defined(OPENSSL_THREADS)
static unsigned g_once_init_called = 0;
@@ -130,4 +130,4 @@ TEST(ThreadTest, RandState) {
thread.join();
}
-#endif // !OPENSSL_NO_THREADS
+#endif // OPENSSL_THREADS