disable SSE2 on 32-bit
authorSatoshi Nakamoto <satoshin@gmx.com>
Thu, 12 Aug 2010 13:26:20 +0000 (13:26 +0000)
committerGavin Andresen <gavinandresen@gmail.com>
Thu, 12 Aug 2010 13:26:20 +0000 (13:26 +0000)
cryptopp/config.h

index de6b0d7..0737027 100644 (file)
@@ -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