blob: 52c2d67db4025815282aa36a46ec760409b2bd4d (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
--- mozilla/ipc/chromium/src/base/platform_thread_posix.cc~
+++ mozilla/ipc/chromium/src/base/platform_thread_posix.cc
@@ -16,7 +16,13 @@
#include <sys/prctl.h>
#elif defined(OS_FREEBSD)
#include <sys/param.h>
+#if __FreeBSD_version > 802500
#include <sys/thr.h>
+#else
+_Pragma("GCC visibility push(default)")
+extern "C" int thr_self(long *);
+_Pragma("GCC visibility pop")
+#endif
#endif
#if !defined(OS_MACOSX)
|