]> git.pld-linux.org Git - packages/seamonkey.git/blob - seamonkey-glibc2.30.patch
- fix building with gcc 10
[packages/seamonkey.git] / seamonkey-glibc2.30.patch
1 --- seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h~    2018-07-12 04:19:15.000000000 +0200
2 +++ seamonkey-2.49.4/mozilla/tools/profiler/core/platform.h     2019-10-10 14:38:34.367540687 +0200
3 @@ -65,12 +65,14 @@
4  #include <unistd.h>
5  #if !defined(__BIONIC__)
6  #include <sys/syscall.h>
7 +#if defined(__GLIBC__) && ! __GLIBC_PREREQ(2, 30)
8  static inline pid_t gettid()
9  {
10    return (pid_t) syscall(SYS_gettid);
11  }
12  #endif
13  #endif
14 +#endif
15  
16  #ifdef XP_WIN
17  #include <windows.h>
This page took 0.055386 seconds and 3 git commands to generate.