From: Dr. Matthias St. Pierre Date: Wed, 11 Sep 2019 08:40:18 +0000 (+0200) Subject: crypto/threads_win.c: fix preprocessor indentation X-Git-Tag: openssl-3.0.0-alpha1~1391 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=7f0a8dc7f9c5c35af0f66aca553304737931d55f;p=oweals%2Fopenssl.git crypto/threads_win.c: fix preprocessor indentation Reviewed-by: Matt Caswell (Merged from https://github.com/openssl/openssl/pull/9832) --- diff --git a/crypto/threads_win.c b/crypto/threads_win.c index 933fdae562..43bd0f51d9 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; }