Mercurial > hg > bitcoin
changeset 223:ea42088bee3d draft
disable SSE2 on 32-bit
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@128 1a98c847-1fd6-4fd8-948a-caf3550aa51b
author | s_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b> |
---|---|
date | Tue, 10 Aug 2010 23:43:37 +0000 |
parents | 6ec15daf4b7a |
children | 2e6accd84e67 |
files | cryptopp/config.h |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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