mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-30 22:43:12 +03:00
Use glibc_likely instead __builtin_expect.
This commit is contained in:
@ -42,7 +42,7 @@ _dl_writev (int fd, const struct iovec *iov, size_t niov)
|
||||
errno when it's being used by another thread that cares about it.
|
||||
Yet we must be sure not to try calling the lock functions before
|
||||
the thread library is fully initialized. */
|
||||
if (__builtin_expect (INTUSE (_dl_starting_up), 0))
|
||||
if (__glibc_unlikely (INTUSE (_dl_starting_up)))
|
||||
__writev (fd, iov, niov);
|
||||
else
|
||||
{
|
||||
|
Reference in New Issue
Block a user