From 03406a936d8905be426dff025ab6077e81487b7f Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Thu, 4 May 2017 18:58:13 +0200 Subject: compat: ssse3 support --- src/compat/compat.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compat') diff --git a/src/compat/compat.h b/src/compat/compat.h index 2db31ef..ffc5ce1 100644 --- a/src/compat/compat.h +++ b/src/compat/compat.h @@ -22,6 +22,10 @@ #error "WireGuard requires CONFIG_IP6_NF_IPTABLES when using CONFIG_IPV6." #endif +#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 0, 0) && defined(CONFIG_X86_64) +#define CONFIG_AS_SSSE3 +#endif + #if LINUX_VERSION_CODE < KERNEL_VERSION(3, 18, 0) #define headers_start data #define headers_end data -- cgit v1.2.3-59-g8ed1b