From 0cff7a8aa706d0e8ded5a58e1035f3db8f711c45 Mon Sep 17 00:00:00 2001 From: s_nakamoto Date: Tue, 10 Aug 2010 23:43:37 +0000 Subject: [PATCH] disable SSE2 on 32-bit git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@128 1a98c847-1fd6-4fd8-948a-caf3550aa51b --- cryptopp/config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cryptopp/config.h b/cryptopp/config.h index c192d3577..146a731f1 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