diff -rupN icecat-60.7.0-orig/tools/profiler/core/platform.h icecat-60.7.0/tools/profiler/core/platform.h --- icecat-60.7.0-orig/tools/profiler/core/platform.h 2019-11-18 11:29:11.638304093 +0100 +++ icecat-60.7.0/tools/profiler/core/platform.h 2019-11-18 20:35:38.133957814 +0100 @@ -47,7 +47,7 @@ #if defined(__GLIBC__) #include #include -static inline pid_t gettid() { return (pid_t)syscall(SYS_gettid); } +#define gettid() ((pid_t)syscall(SYS_gettid)) #elif defined(GP_OS_darwin) #include #include