diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/kernel-features.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/unix/sysv/linux/kernel-features.h b/sysdeps/unix/sysv/linux/kernel-features.h index 0f35a3ccc3..b52fa73e0d 100644 --- a/sysdeps/unix/sysv/linux/kernel-features.h +++ b/sysdeps/unix/sysv/linux/kernel-features.h @@ -384,11 +384,17 @@ SIMD (AKA Altivec, VMX) instructions and register state. This changes the overall size of the sigcontext and adds the swapcontext syscall. */ #if __LINUX_KERNEL_VERSION >= 132608 && defined __powerpc__ -# define __ASSUME_SWAPCONTEXT_SYSCALL 1 +# define __ASSUME_SWAPCONTEXT_SYSCALL 1 #endif /* The CLONE_DETACHED flag is not necessary in 2.6.2 kernels, it is implied. */ #if __LINUX_KERNEL_VERSION >= 132610 -# define __ASSUME_NO_CLONE_DETACHED 1 +# define __ASSUME_NO_CLONE_DETACHED 1 +#endif + +/* Starting with version 2.6.4-rc1 the getdents syscall returns d_type + information as well. */ +#if __LINUX_KERNEL_VERSION >= 132612 +# define __ASSUME_GETDENTS32_D_TYPE 1 #endif |