git://git.novaco.in
/
novacoin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
9db7bf5
)
disable SSE2 on 32-bit
author
Satoshi Nakamoto
<satoshin@gmx.com>
Thu, 12 Aug 2010 13:26:20 +0000 (13:26 +0000)
committer
Gavin Andresen
<gavinandresen@gmail.com>
Thu, 12 Aug 2010 13:26:20 +0000 (13:26 +0000)
cryptopp/config.h
patch
|
blob
|
history
diff --git
a/cryptopp/config.h
b/cryptopp/config.h
index
de6b0d7
..
0737027
100644
(file)
--- 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