From 001a57c2e1fe670aff2bf19d93adacfed0637cd0 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 18 Oct 2006 19:48:20 +0000 Subject: [PATCH] exchange one nonportable API for another, since newer Linux kernels changed their mind --- stepmania/src/archutils/Unix/LinuxThreadHelpers.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/archutils/Unix/LinuxThreadHelpers.cpp b/stepmania/src/archutils/Unix/LinuxThreadHelpers.cpp index 035f6ac31a..4d4bdd8558 100644 --- a/stepmania/src/archutils/Unix/LinuxThreadHelpers.cpp +++ b/stepmania/src/archutils/Unix/LinuxThreadHelpers.cpp @@ -16,7 +16,7 @@ #include #include #include -#include +#include #define _LINUX_PTRACE_H // hack to prevent broken linux/ptrace.h from conflicting with sys/ptrace.h #include @@ -30,7 +30,7 @@ static bool g_bUsingNPTL = false; -static _syscall0(pid_t,gettid) +#define gettid() syscall(SYS_gettid) #ifndef _CS_GNU_LIBPTHREAD_VERSION #define _CS_GNU_LIBPTHREAD_VERSION 3