From a44e1b2f20e4ac5e2ac11b63e1ae935981ea9428 Mon Sep 17 00:00:00 2001 From: "Dr. Matthias St. Pierre" Date: Wed, 11 Sep 2019 10:40:18 +0200 Subject: [PATCH] crypto/threads_win.c: fix preprocessor indentation Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9860) --- crypto/threads_win.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/crypto/threads_win.c b/crypto/threads_win.c index 44a360fcab..ba25d2719a 100644 --- a/crypto/threads_win.c +++ b/crypto/threads_win.c @@ -24,15 +24,15 @@ CRYPTO_RWLOCK *CRYPTO_THREAD_lock_new(void) return NULL; } -#if !defined(_WIN32_WCE) +# if !defined(_WIN32_WCE) /* 0x400 is the spin count value suggested in the documentation */ if (!InitializeCriticalSectionAndSpinCount(lock, 0x400)) { OPENSSL_free(lock); return NULL; } -#else +# else InitializeCriticalSection(lock); -#endif +# endif return lock; } -- 2.25.1