main: fix warning, pthread_self() for openbsd
This commit is contained in:
parent
101f45b2c1
commit
5e4a7e907d
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue