From 3d3c92b4711b42169137b2ddf42ed4382e2babdf Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 29 Jun 2022 15:36:49 +0200 Subject: compat: drop CentOS 8 Stream support Nobody uses this and it's impossible to maintain given the current CI situation. RHEL 7 and 8 release remain for now, though that might not always be the case. See the link for details. Link: https://lists.zx2c4.com/pipermail/wireguard/2022-June/007664.html Suggested-by: Philip J. Perry Signed-off-by: Jason A. Donenfeld --- src/compat/compat-asm.h | 3 --- src/compat/compat.h | 5 +---- 2 files changed, 1 insertion(+), 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 #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0) #include -- cgit v1.2.3-59-g8ed1b