diff options
Diffstat (limited to 'sysdeps/unix/sysv/linux/m68k/kernel-features.h')
-rw-r--r-- | sysdeps/unix/sysv/linux/m68k/kernel-features.h | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/sysdeps/unix/sysv/linux/m68k/kernel-features.h b/sysdeps/unix/sysv/linux/m68k/kernel-features.h index bc340bd..e47fd3b 100644 --- a/sysdeps/unix/sysv/linux/m68k/kernel-features.h +++ b/sysdeps/unix/sysv/linux/m68k/kernel-features.h @@ -24,19 +24,15 @@ #define __ASSUME_UTIMES 1 /* Support for various CLOEXEC and NONBLOCK flags was added 2.6.23. */ -#if __LINUX_KERNEL_VERSION >= 0x020617 -# define __ASSUME_O_CLOEXEC 1 -#endif +#define __ASSUME_O_CLOEXEC 1 /* Support for various CLOEXEC and NONBLOCK flags was added in 2.6.27. */ -#if __LINUX_KERNEL_VERSION >= 0x02061b -# define __ASSUME_SOCK_CLOEXEC 1 -# define __ASSUME_IN_NONBLOCK 1 -# define __ASSUME_PIPE2 1 -# define __ASSUME_EVENTFD2 1 -# define __ASSUME_SIGNALFD4 1 -# define __ASSUME_DUP3 1 -#endif +#define __ASSUME_SOCK_CLOEXEC 1 +#define __ASSUME_IN_NONBLOCK 1 +#define __ASSUME_PIPE2 1 +#define __ASSUME_EVENTFD2 1 +#define __ASSUME_SIGNALFD4 1 +#define __ASSUME_DUP3 1 #include_next <kernel-features.h> |