From 1fe7e2a1f6062b006153e7417dac6d74d85cc109 Mon Sep 17 00:00:00 2001 From: Richard Aas Date: Wed, 18 Jun 2014 08:58:17 +0000 Subject: [PATCH] main: fix pthread_self() warning on FreeBSD --- 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 4140dce..03440a9 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) { -#ifdef DARWIN +#if defined (DARWIN) || defined (FREEBSD) return (unsigned long)(void *)pthread_self(); #else return (unsigned long)pthread_self();