From f5d2bc8a36dda0bd80a44afaab5fb3c0323d2da2 Mon Sep 17 00:00:00 2001 From: Satoshi Nakamoto Date: Thu, 12 Aug 2010 13:26:20 +0000 Subject: [PATCH] disable SSE2 on 32-bit --- cryptopp/config.h | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/cryptopp/config.h b/cryptopp/config.h index de6b0d7ff..0737027f4 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