1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-28 00:21:52 +03:00

* sysdeps/unix/sysv/linux/kernel-features.h

(__ASSUME_FUTEX_CLOCK_REALTIME): Define.
This commit is contained in:
Ulrich Drepper
2009-01-03 01:52:29 +00:00
parent 720981169b
commit ebb2788e97
2 changed files with 10 additions and 0 deletions

View File

@ -517,3 +517,10 @@
|| defined __ia64__ || defined __sparc__ || __s390__)
# define __ASSUME_ACCEPT4 1
#endif
/* Support for the FUTEX_CLOCK_REALTIME flag was added in 2.6.29. */
#if __LINUX_KERNEL_VERSION >= 0x02061d \
&& (defined __i386__ || defined __x86_64__ || defined __powerpc__ \
|| defined __ia64__ || defined __sparc__ || __s390__)
# define __ASSUME_FUTEX_CLOCK_REALTIME 1
#endif