summaryrefslogtreecommitdiff
path: root/sysdeps/pthread/allocalim.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/pthread/allocalim.h')
-rw-r--r--sysdeps/pthread/allocalim.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/pthread/allocalim.h b/sysdeps/pthread/allocalim.h
index 38faf57b70..99f74838dd 100644
--- a/sysdeps/pthread/allocalim.h
+++ b/sysdeps/pthread/allocalim.h
@@ -24,9 +24,9 @@ extern __always_inline
int
__libc_use_alloca (size_t size)
{
- return (__builtin_expect (__libc_alloca_cutoff (size), 1)
+ return (__glibc_likely (__libc_alloca_cutoff (size))
#ifdef PTHREAD_STACK_MIN
- || __builtin_expect (size <= PTHREAD_STACK_MIN / 4, 1)
+ || __glibc_likely (size <= PTHREAD_STACK_MIN / 4)
#endif
);
}