Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 695644
Collapse All | Expand All

(-)a/mozilla/tools/profiler/core/platform.h (-4 / +1 lines)
Lines 65-74 Link Here
65
#include <unistd.h>
65
#include <unistd.h>
66
#if !defined(__BIONIC__)
66
#if !defined(__BIONIC__)
67
#include <sys/syscall.h>
67
#include <sys/syscall.h>
68
static inline pid_t gettid()
68
#define gettid() static_cast<pid_t>(syscall(SYS_gettid))
69
{
70
  return (pid_t) syscall(SYS_gettid);
71
}
72
#endif
69
#endif
73
#endif
70
#endif
74
71
(-)a/mozilla/tools/profiler/core/GeckoSampler.cpp (-1 / +1 lines)
Lines 67-73 Link Here
67
67
68
#if defined(LINUX) || defined(XP_MACOSX)
68
#if defined(LINUX) || defined(XP_MACOSX)
69
#include <sys/types.h>
69
#include <sys/types.h>
70
pid_t gettid();
70
// pid_t gettid();
71
#endif
71
#endif
72
72
73
#if defined(__arm__) && defined(ANDROID)
73
#if defined(__arm__) && defined(ANDROID)

Return to bug 695644