Do not rely on glibc name of syscall.

* src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid.
This commit is contained in:
Marcus Brinkmann 2012-03-12 16:37:26 +01:00
parent ced1ad01ae
commit ff0a640a18

View File

@ -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