aboutsummaryrefslogtreecommitdiffstats
path: root/ext/openssl/ossl.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/openssl/ossl.c')
-rw-r--r--ext/openssl/ossl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/openssl/ossl.c b/ext/openssl/ossl.c
index 63ac8f4fbd..9cbe4f4510 100644
--- a/ext/openssl/ossl.c
+++ b/ext/openssl/ossl.c
@@ -462,7 +462,7 @@ ossl_fips_mode_set(VALUE self, VALUE enabled)
#endif
}
-#ifndef HAVE_OPENSSL_110_THREADING_API
+#if !defined(HAVE_OPENSSL_110_THREADING_API)
/**
* Stores locks needed for OpenSSL thread safety
*/
@@ -1150,7 +1150,7 @@ Init_openssl(void)
*/
ossl_s_to_der = rb_intern("to_der");
-#ifndef HAVE_OPENSSL_110_THREADING_API
+#if !defined(HAVE_OPENSSL_110_THREADING_API)
Init_ossl_locks();
#endif