From ff0a640a18e7b7457e6c2edfdc8307bf44628b60 Mon Sep 17 00:00:00 2001 From: Marcus Brinkmann Date: Mon, 12 Mar 2012 16:37:26 +0100 Subject: [PATCH] Do not rely on glibc name of syscall. * src/ath.c (ath_self): Use __NR_gettid, not SYS_gettid. --- src/ath.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.26.2