Do not rely on glibc name of syscall.
* src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid.
This commit is contained in:
parent
ced1ad01ae
commit
ff0a640a18
@ -67,7 +67,7 @@ uintptr_t
|
|||||||
ath_self (void)
|
ath_self (void)
|
||||||
{
|
{
|
||||||
/* Just to catch users who don't use gpgme-pthread. */
|
/* Just to catch users who don't use gpgme-pthread. */
|
||||||
return (uintptr_t) syscall (SYS_gettid);
|
return (uintptr_t) syscall (__NR_gettid);
|
||||||
}
|
}
|
||||||
# else
|
# else
|
||||||
uintptr_t
|
uintptr_t
|
||||||
|
Loading…
Reference in New Issue
Block a user