diff options
Diffstat (limited to 'backport/backport-include/linux/time64.h')
-rw-r--r-- | backport/backport-include/linux/time64.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/backport/backport-include/linux/time64.h b/backport/backport-include/linux/time64.h index 31a7f1be..609b8904 100644 --- a/backport/backport-include/linux/time64.h +++ b/backport/backport-include/linux/time64.h @@ -1,12 +1,12 @@ #ifndef __BACKPORT_LINUX_TIME64_H #define __BACKPORT_LINUX_TIME64_H -#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,17,0) +#if LINUX_VERSION_IS_GEQ(3,17,0) #include_next <linux/time64.h> #else #include <linux/time.h> #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) +#if LINUX_VERSION_IS_LESS(3,17,0) #define timespec64_equal timespec_equal #define timespec64_compare timespec_compare #define set_normalized_timespec64 set_normalized_timespec @@ -19,6 +19,6 @@ #define ns_to_timespec64 ns_to_timespec #define timespec64_add_ns timespec_add_ns #define timespec64 timespec -#endif /* LINUX_VERSION_CODE < KERNEL_VERSION(3,17,0) */ +#endif /* LINUX_VERSION_IS_LESS(3,17,0) */ #endif /* __BACKPORT_LINUX_TIME64_H */ |