]> git.pld-linux.org Git - packages/firefox52-esr.git/blobdiff - glibc.patch
- nicer variant of the patch
[packages/firefox52-esr.git] / glibc.patch
index baf455c259f1318ff1ffbc5d16087a6df6dc4687..5c331b74b05a069aa815256309656f9fdb936db1 100644 (file)
@@ -1,16 +1,18 @@
---- firefox-52.9.0esr/tools/profiler/core/platform.h~  2017-04-11 04:13:25.000000000 +0200
-+++ firefox-52.9.0esr/tools/profiler/core/platform.h   2020-03-03 11:59:12.442453550 +0100
-@@ -63,13 +63,6 @@
+--- firefox-52.9.0esr/tools/profiler/core/platform.h~  2020-03-03 13:20:04.000000000 +0100
++++ firefox-52.9.0esr/tools/profiler/core/platform.h   2020-03-03 13:20:47.438599518 +0100
+@@ -63,6 +63,7 @@
  // provide a wrapper for it (except for Bionic)
  #if defined(__linux__)
  #include <unistd.h>
--#if !defined(__BIONIC__)
--#include <sys/syscall.h>
--static inline pid_t gettid()
--{
--  return (pid_t) syscall(SYS_gettid);
--}
--#endif
++#if !__GLIBC_PREREQ(2, 30)
+ #if !defined(__BIONIC__)
+ #include <sys/syscall.h>
+ static inline pid_t gettid()
+@@ -71,6 +72,7 @@ static inline pid_t gettid()
+ }
  #endif
+ #endif
++#endif
  
  #ifdef XP_WIN
+ #include <windows.h>
This page took 0.111184 seconds and 4 git commands to generate.