aboutsummaryrefslogtreecommitdiff
path: root/cryptopp
diff options
context:
space:
mode:
authorSatoshi Nakamoto <satoshin@gmx.com>2010-08-12 13:26:20 +0000
committerGavin Andresen <gavinandresen@gmail.com>2010-08-12 13:26:20 +0000
commitf5d2bc8a36dda0bd80a44afaab5fb3c0323d2da2 (patch)
tree1fab908cba97833a2b92276f4d929c5aa5e916c8 /cryptopp
parent9db7bf5f52194b0018272ce3f719115f8637da5c (diff)
downloadbitcoin-f5d2bc8a36dda0bd80a44afaab5fb3c0323d2da2.tar.xz
disable SSE2 on 32-bit
Diffstat (limited to 'cryptopp')
-rw-r--r--cryptopp/config.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/cryptopp/config.h b/cryptopp/config.h
index de6b0d7ffd..0737027f41 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