gettid.patch 382 B

1234567891011121314
  1. --- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h.orig 2020-04-09 05:40:25.587372314 +0300
  2. +++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h 2020-04-09 05:41:24.195387788 +0300
  3. @@ -65,10 +65,6 @@
  4. #include <unistd.h>
  5. #if !defined(__BIONIC__)
  6. #include <sys/syscall.h>
  7. -static inline pid_t gettid()
  8. -{
  9. - return (pid_t) syscall(SYS_gettid);
  10. -}
  11. #endif
  12. #endif