aboutsummaryrefslogtreecommitdiff
path: root/src/crypto/sha256_x86_shani.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/crypto/sha256_x86_shani.cpp')
-rw-r--r--src/crypto/sha256_x86_shani.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/sha256_x86_shani.cpp b/src/crypto/sha256_x86_shani.cpp
index 79871bfcc1..7471828193 100644
--- a/src/crypto/sha256_x86_shani.cpp
+++ b/src/crypto/sha256_x86_shani.cpp
@@ -6,7 +6,7 @@
// Written and placed in public domain by Jeffrey Walton.
// Based on code from Intel, and by Sean Gulley for the miTLS project.
-#ifdef ENABLE_X86_SHANI
+#if defined(ENABLE_SSE41) && defined(ENABLE_X86_SHANI)
#include <stdint.h>
#include <immintrin.h>