mirror of
https://github.com/klzgrad/naiveproxy.git
synced 2025-04-16 07:31:02 +00:00
loong64: base: Set pthread stack size
This commit is contained in:
parent
0786c78ad4
commit
14dbd271d6
1 changed files with 1 additions and 1 deletions
|
@ -55,7 +55,7 @@ namespace base {
|
||||||
// defined as a constant.
|
// defined as a constant.
|
||||||
|
|
||||||
// These constants are borrowed from glibc’s (arch)/bits/pthread_stack_min.h.
|
// These constants are borrowed from glibc’s (arch)/bits/pthread_stack_min.h.
|
||||||
#if defined(ARCH_CPU_ARM64)
|
#if defined(ARCH_CPU_ARM64) || defined(ARCH_CPU_LOONGARCH64)
|
||||||
#define PTHREAD_STACK_MIN_CONST \
|
#define PTHREAD_STACK_MIN_CONST \
|
||||||
(__builtin_constant_p(PTHREAD_STACK_MIN) ? PTHREAD_STACK_MIN : 131072)
|
(__builtin_constant_p(PTHREAD_STACK_MIN) ? PTHREAD_STACK_MIN : 131072)
|
||||||
#else
|
#else
|
||||||
|
|
Loading…
Add table
Reference in a new issue