openssl: bump to 3.0.3
[kiss-trunc88.git] / qt5-webengine.mine / patches / thread-stacksize.patch
blob37f44f4abe88235de6296d9ff926cb4cf7b848a6
1 diff --git a/src/3rdparty/chromium/ppapi/utility/threading/simple_thread.cc
2 b/src/3rdparty/chromium/ppapi/utility/threading/simple_thread.cc
3 index 02bf49b..05ee182 100644
4 --- a/src/3rdparty/chromium/ppapi/utility/threading/simple_thread.cc
5 +++ b/src/3rdparty/chromium/ppapi/utility/threading/simple_thread.cc
6 @@ -13,7 +13,7 @@ namespace pp {
7 namespace {
9 // Use 2MB default stack size for Native Client, otherwise use system default.
10 -#if defined(__native_client__)
11 +#if defined(__native_client__) || !defined(__GLIBC__)
12 const size_t kDefaultStackSize = 2 * 1024 * 1024;
13 #else
14 const size_t kDefaultStackSize = 0;
15 diff --git a/src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc
16 b/src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc
17 index cf7f3ec..e06a5ce 100644
18 --- a/src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc
19 +++ b/src/3rdparty/chromium/v8/src/base/platform/platform-posix.cc
20 @@ -761,7 +761,7 @@ void Thread::Start() {
21 #if V8_OS_MACOSX
22 // Default on Mac OS X is 512kB -- bump up to 1MB
23 stack_size = 1 * 1024 * 1024;
24 -#elif V8_OS_AIX
25 +#elif V8_OS_AIX || !defined(__GLIBC__)
26 // Default on AIX is 96kB -- bump up to 2MB
27 stack_size = 2 * 1024 * 1024;
28 #endif