aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authors_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-16 13:37:00 +0000
committers_nakamoto <s_nakamoto@1a98c847-1fd6-4fd8-948a-caf3550aa51b>2010-08-16 13:37:00 +0000
commit6da916d4acf0c26be81b4547da0e4160d53aacc8 (patch)
tree9bf9e23fe0a8725404aa91a30748a16788bcf02f
parente540144b2eeb009db254766f13692ca741257b01 (diff)
wrap sha256.cpp in FOURWAYSSE2 #ifdef
git-svn-id: https://bitcoin.svn.sourceforge.net/svnroot/bitcoin/trunk@136 1a98c847-1fd6-4fd8-948a-caf3550aa51b
-rw-r--r--sha256.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sha256.cpp b/sha256.cpp
index bcab2b9639..ae4cd8ac4e 100644
--- a/sha256.cpp
+++ b/sha256.cpp
@@ -2,6 +2,8 @@
// Distributed under the MIT/X11 software license, see the accompanying
// file license.txt or http://www.opensource.org/licenses/mit-license.php.
+#ifdef FOURWAYSSE2
+
#include <string.h>
#include <assert.h>
@@ -417,3 +419,5 @@ void Double_BlockSHA256(const void* pin, void* pad, const void *pre, unsigned in
}
}
+
+#endif // FOURWAYSSE2