mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
* resolv/res_send.c (send_dg): Use correct guards for SOCK_CLOEXEC
use. * sysdeps/unix/sysv/linux/kernel-features.h: Fix typo in accept4 handling.
This commit is contained in:
@ -512,7 +512,7 @@
|
||||
#endif
|
||||
|
||||
/* Support for the accept4 syscall was added in 2.6.28. */
|
||||
#if __LINUX_KERNEL_VERSION >= 0x02061b \
|
||||
#if __LINUX_KERNEL_VERSION >= 0x02061c \
|
||||
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
|
||||
|| defined __ia64__ || defined __sparc__ || __s390__)
|
||||
# define __ASSUME_ACCEPT4 1
|
||||
|
Reference in New Issue
Block a user