aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--cryptopp/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptopp/config.h b/cryptopp/config.h
index c192d35773..146a731f11 100644
--- a/cryptopp/config.h
+++ b/cryptopp/config.h
@@ -1,6 +1,13 @@
#ifndef CRYPTOPP_CONFIG_H
#define CRYPTOPP_CONFIG_H
+//// Bitcoin: disable SSE2 on 32-bit
+#if !defined(_M_X64) && !defined(__x86_64__)
+#define CRYPTOPP_DISABLE_SSE2 1
+#endif
+//////////// end of Bitcoin changes
+
+
// ***************** Important Settings ********************
// define this if running on a big-endian CPU