From 5e4a7e907dd51c67dfbfb21b1be5b642208cfa6c Mon Sep 17 00:00:00 2001 From: Richard Aas Date: Fri, 14 Nov 2014 09:49:40 +0000 Subject: [PATCH] main: fix warning, pthread_self() for openbsd --- src/main/openssl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/openssl.c b/src/main/openssl.c index 03440a9..12ee605 100644 --- a/src/main/openssl.c +++ b/src/main/openssl.c @@ -25,7 +25,7 @@ static pthread_mutex_t *lockv; static unsigned long threadid_handler(void) { -#if defined (DARWIN) || defined (FREEBSD) +#if defined (DARWIN) || defined (FREEBSD) || defined (OPENBSD) return (unsigned long)(void *)pthread_self(); #else return (unsigned long)pthread_self();