summaryrefslogtreecommitdiff
path: root/cipher/chacha20.c
diff options
context:
space:
mode:
Diffstat (limited to 'cipher/chacha20.c')
-rw-r--r--cipher/chacha20.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cipher/chacha20.c b/cipher/chacha20.c
index 2ac5a32a..e2cf4420 100644
--- a/cipher/chacha20.c
+++ b/cipher/chacha20.c
@@ -57,7 +57,7 @@
/* USE_AVX2 indicates whether to compile with Intel AVX2 code. */
#undef USE_AVX2
#if defined(__x86_64__) && defined(HAVE_COMPATIBLE_GCC_AMD64_PLATFORM_AS) && \
- defined(HAVE_GCC_INLINE_ASM_AVX2)
+ defined(ENABLE_AVX2_SUPPORT)
# define USE_AVX2 1
#endif