main: fix pthread_self() warning on FreeBSD
This commit is contained in:
parent
fc01e8de88
commit
1fe7e2a1f6
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue