diff options
Diffstat (limited to 'testing/firefox/fix-bug-1261392.patch')
-rw-r--r-- | testing/firefox/fix-bug-1261392.patch | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/testing/firefox/fix-bug-1261392.patch b/testing/firefox/fix-bug-1261392.patch index 0b4f131bbd..cf5d8a0b1c 100644 --- a/testing/firefox/fix-bug-1261392.patch +++ b/testing/firefox/fix-bug-1261392.patch @@ -1,12 +1,12 @@ diff --git a/tools/profiler/core/platform.h b/tools/profiler/core/platform.h -index 5f0fb69..086a511 100644 +index 8379eb0347..4246d8138c 100644 --- a/tools/profiler/core/platform.h +++ b/tools/profiler/core/platform.h -@@ -42,10 +42,11 @@ - #include "PlatformMacros.h" - #include <vector> +@@ -39,10 +39,11 @@ + #include <functional> + #include <stdint.h> --// We need a definition of gettid(), but glibc doesn't provide a +-// We need a definition of gettid(), but old glibc versions don't provide a -// wrapper for it. -#if defined(__GLIBC__) +// We need a definition of gettid(), but Linux libc implementations don't @@ -15,9 +15,9 @@ index 5f0fb69..086a511 100644 # include <unistd.h> +#if !defined(__BIONIC__) # include <sys/syscall.h> - static inline pid_t gettid() { return (pid_t)syscall(SYS_gettid); } + # define gettid() static_cast<pid_t>(syscall(SYS_gettid)) #elif defined(GP_OS_darwin) -@@ -61,6 +62,7 @@ static inline pid_t gettid() { return (pid_t)syscall(SYS_thread_selfid); } +@@ -58,6 +59,7 @@ # define getpid _getpid # endif #endif |