From ff7e5aaf24111a0572952d144252268581353d9e Mon Sep 17 00:00:00 2001 From: ps Date: Mon, 17 Jan 2011 21:09:32 +0000 Subject: [PATCH] more ifdefing out for win32 --- src/hermes.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/hermes.cpp b/src/hermes.cpp index 8b3c193..ce38f84 100644 --- a/src/hermes.cpp +++ b/src/hermes.cpp @@ -95,7 +95,9 @@ main #ifdef HAVE_SSL 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); + #endif //WIN32 #endif //HAVE_SSL try {