This commit is contained in:
Vítor Santos Costa 2015-10-09 10:31:52 +01:00
parent 1f3b2509f1
commit 66372f256a

View File

@ -1566,7 +1566,7 @@ intptr_t
system_thread_id(void) system_thread_id(void)
{ {
#if HAVE_SYS_GETTID #if HAVE_SYS_GETTID
Return syscall( SYS_GETTID ); return syscall( SYS_GETTID );
#elif HAVE_GETTID_SYSCALL #elif HAVE_GETTID_SYSCALL
return syscall(__NR_gettid); return syscall(__NR_gettid);
#elif defined( HAVE_GETTID_MACRO ) #elif defined( HAVE_GETTID_MACRO )