mirror of
https://github.com/openssl/openssl.git
synced 2024-11-23 10:03:32 +08:00
Define threads_lib.c functions only for OPENSSL_SYS_UNIX
This matches the declaration in <openssl/crypto.h>. Reviewed-by: Hugo Landau <hlandau@openssl.org> Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/19322)
This commit is contained in:
parent
71faab72b8
commit
523e54c15c
@ -8,7 +8,8 @@
|
||||
*/
|
||||
#include <openssl/crypto.h>
|
||||
|
||||
#ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
#ifdef OPENSSL_SYS_UNIX
|
||||
# ifndef OPENSSL_NO_DEPRECATED_3_0
|
||||
|
||||
void OPENSSL_fork_prepare(void)
|
||||
{
|
||||
@ -22,4 +23,5 @@ void OPENSSL_fork_child(void)
|
||||
{
|
||||
}
|
||||
|
||||
# endif
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user