mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
Use glibc_likely instead __builtin_expect.
This commit is contained in:
@ -68,7 +68,7 @@ __libc_memalign (size_t align, size_t n)
|
||||
/* Insufficient space left; allocate another page. */
|
||||
caddr_t page;
|
||||
size_t nup = (n + GLRO(dl_pagesize) - 1) & ~(GLRO(dl_pagesize) - 1);
|
||||
if (__builtin_expect (nup == 0, 0))
|
||||
if (__glibc_unlikely (nup == 0))
|
||||
{
|
||||
if (n)
|
||||
return NULL;
|
||||
|
Reference in New Issue
Block a user