more ifdefing out for win32
This commit is contained in:
parent
b9cbfe2e39
commit
ff7e5aaf24
|
@ -95,7 +95,9 @@ main
|
||||||
|
|
||||||
#ifdef HAVE_SSL
|
#ifdef HAVE_SSL
|
||||||
CRYPTO_set_locking_callback(ssl_locking_function);
|
CRYPTO_set_locking_callback(ssl_locking_function);
|
||||||
|
#ifndef WIN32 //getpid() returns different values for threads on windows, therefor this is not needed
|
||||||
CRYPTO_set_id_callback(pthread_self);
|
CRYPTO_set_id_callback(pthread_self);
|
||||||
|
#endif //WIN32
|
||||||
#endif //HAVE_SSL
|
#endif //HAVE_SSL
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue