From: Marcus Brinkmann Date: Mon, 12 Mar 2012 15:37:26 +0000 (+0100) Subject: Do not rely on glibc name of syscall. X-Git-Tag: gpgme-1.3.2~11 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ff0a640a18e7b7457e6c2edfdc8307bf44628b60;p=gpgme.git Do not rely on glibc name of syscall. * src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid. --- diff --git a/src/ath.c b/src/ath.c index e5b9964..ab65f7e 100644 --- a/src/ath.c +++ b/src/ath.c @@ -67,7 +67,7 @@ uintptr_t ath_self (void) { /* Just to catch users who don't use gpgme-pthread. */ - return (uintptr_t) syscall (SYS_gettid); + return (uintptr_t) syscall (__NR_gettid); } # else uintptr_t