diff options
Diffstat (limited to 'src/compat')
-rw-r--r-- | src/compat/compat-asm.h | 3 | ||||
-rw-r--r-- | src/compat/compat.h | 5 |
2 files changed, 1 insertions, 7 deletions
diff --git a/src/compat/compat-asm.h b/src/compat/compat-asm.h index 951fc10..345087b 100644 --- a/src/compat/compat-asm.h +++ b/src/compat/compat-asm.h @@ -15,9 +15,6 @@ #define ISRHEL7 #elif RHEL_MAJOR == 8 #define ISRHEL8 -#if RHEL_MINOR >= 6 -#define ISCENTOS8S -#endif #endif #endif diff --git a/src/compat/compat.h b/src/compat/compat.h index aebeabf..69dada8 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -16,9 +16,6 @@ #define ISRHEL7 #elif RHEL_MAJOR == 8 #define ISRHEL8 -#if RHEL_MINOR >= 7 -#define ISCENTOS8S -#endif #endif #endif #ifdef UTS_UBUNTU_RELEASE_ABI @@ -390,7 +387,7 @@ static inline int get_random_bytes_wait(void *buf, int nbytes) #define system_power_efficient_wq system_unbound_wq #endif -#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) && !defined(ISCENTOS8S) +#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 3, 0) #include <linux/ktime.h> #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) #include <linux/hrtimer.h> |