main: fix pthread_self() warning on FreeBSD

This commit is contained in:
Richard Aas 2014-06-18 08:58:17 +00:00
parent fc01e8de88
commit 1fe7e2a1f6

View file

@ -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();