aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-10 23:43:37 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-10 23:43:37 +0000
commit0cff7a8aa706d0e8ded5a58e1035f3db8f711c45 (patch)
tree63f76d4f405390eb28ceaa9709df7814dff73aac
parentfb83d28768e62eb46f83d15afaf67bdfb4675d9d (diff)
disable SSE2 on 32-bit
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@128 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-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