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 {
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;
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() {
22 // Default on Mac OS X is 512kB -- bump up to 1MB
23 stack_size = 1 * 1024 * 1024;
25 +#elif V8_OS_AIX || !defined(__GLIBC__)
26 // Default on AIX is 96kB -- bump up to 2MB
27 stack_size = 2 * 1024 * 1024;