diff options
author | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-06-18 14:49:27 +0000 |
---|---|---|
committer | Carmelo Amoroso <carmelo.amoroso@st.com> | 2008-06-18 14:49:27 +0000 |
commit | d1120c5fbb409d61b488adf61a72676d3671e44e (patch) | |
tree | 7407240908eb71d2d6568037724d09fc94e22e71 /libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h | |
parent | 0fce357668d09e20b23c63622024de40b00d8c65 (diff) | |
download | uClibc-alpine-d1120c5fbb409d61b488adf61a72676d3671e44e.tar.bz2 uClibc-alpine-d1120c5fbb409d61b488adf61a72676d3671e44e.tar.xz |
Synch with trunk
Diffstat (limited to 'libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h b/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h index 3fc7f8e67..d95ff7412 100644 --- a/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h +++ b/libpthread/nptl/sysdeps/unix/sysv/linux/kernel-features.h @@ -411,8 +411,10 @@ #endif /* Starting with version 2.6.4-rc1 the getdents syscall returns d_type - information as well. */ -#if __LINUX_KERNEL_VERSION >= 132612 + 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 |