summaryrefslogtreecommitdiff
path: root/src/crypto/thread_none.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/thread_none.c')
-rw-r--r--src/crypto/thread_none.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/crypto/thread_none.c b/src/crypto/thread_none.c
index 718d9601..4f07b9d9 100644
--- a/src/crypto/thread_none.c
+++ b/src/crypto/thread_none.c
@@ -14,7 +14,7 @@
#include "internal.h"
-#if defined(OPENSSL_NO_THREADS)
+#if !defined(OPENSSL_THREADS)
void CRYPTO_MUTEX_init(CRYPTO_MUTEX *lock) {}
@@ -56,4 +56,4 @@ int CRYPTO_set_thread_local(thread_local_data_t index, void *value,
return 1;
}
-#endif // OPENSSL_NO_THREADS
+#endif // !OPENSSL_THREADS