crypto/threads_win.c: fix preprocessor indentation
Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/9860)
This commit is contained in:
parent
c3656cc594
commit
a44e1b2f20
1 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue