diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-17 09:45:29 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-11-17 09:45:29 +0000 |
commit | 9584b4e582b293ead79d8bb0ff85c1ef12a888d9 (patch) | |
tree | 7eaf3bc76dd05e6d9a9c7002e7a9d5e23d5cd5fd /libpthread/linuxthreads/sysdeps/pthread/kernel-features.h | |
parent | cf8c7b558c1c33cafe557ced361554461485af6c (diff) | |
download | uClibc-alpine-9584b4e582b293ead79d8bb0ff85c1ef12a888d9.tar.bz2 uClibc-alpine-9584b4e582b293ead79d8bb0ff85c1ef12a888d9.tar.xz |
Synch with trunk @ 24071.
Step 1
linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
Diffstat (limited to 'libpthread/linuxthreads/sysdeps/pthread/kernel-features.h')
-rw-r--r-- | libpthread/linuxthreads/sysdeps/pthread/kernel-features.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libpthread/linuxthreads/sysdeps/pthread/kernel-features.h b/libpthread/linuxthreads/sysdeps/pthread/kernel-features.h index 424922ec0..88a71828b 100644 --- a/libpthread/linuxthreads/sysdeps/pthread/kernel-features.h +++ b/libpthread/linuxthreads/sysdeps/pthread/kernel-features.h @@ -62,6 +62,14 @@ # define __ASSUME_VFORK_SYSCALL 1 #endif +/* Starting with version 2.6.4-rc1 the getdents syscall returns d_type + * information as well and in between 2.6.5 and 2.6.8 most compat wrappers + * were fixed too. Except s390{,x} which was fixed in 2.6.11. */ +#if (__LINUX_KERNEL_VERSION >= 0x020608 && !defined __s390__) \ + || (__LINUX_KERNEL_VERSION >= 0x02060b && defined __s390__) +# define __ASSUME_GETDENTS32_D_TYPE 1 +#endif + /* These features were surely available with 2.4.12. */ #if __LINUX_KERNEL_VERSION >= 132108 && defined __mc68000__ # define __ASSUME_MMAP2_SYSCALL 1 |