aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSatoshi Nakamoto <satoshin@gmx.com>2010-08-16 20:52:36 +0000
committerGavin Andresen <gavinandresen@gmail.com>2010-08-16 20:52:36 +0000
commitc923cdbd5b5d143a77ee5f2c3f0bd72aa4f1716e (patch)
tree25017c0fdccad4a6d940608e99020d23ebef5923
parent019b456605f90f13cdc8ecc02aa8492b4e65846e (diff)
wrap sha256.cpp in FOURWAYSSE2 #ifdef
-rw-r--r--sha256.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/sha256.cpp b/sha256.cpp
index d564c79504..057f9423b7 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