summaryrefslogtreecommitdiff
path: root/blake2.cpp
diff options
context:
space:
mode:
authorJeffrey Walton <noloader@gmail.com>2016-07-24 04:20:50 -0400
committerJeffrey Walton <noloader@gmail.com>2016-07-24 04:20:50 -0400
commit43320dd72767711ec3aa39e247966cceb9338106 (patch)
tree2f28bdee250c1af951624d40e4c255d7fb22ea1c /blake2.cpp
parentfc5ad7ea7d2113a6f681c13467ddb76c7327bfb8 (diff)
downloadcryptopp-git-43320dd72767711ec3aa39e247966cceb9338106.tar.gz
Fixed compile under Visual Studio 2008, 32-bit
Diffstat (limited to 'blake2.cpp')
-rw-r--r--blake2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/blake2.cpp b/blake2.cpp
index f2205ea5..13923792 100644
--- a/blake2.cpp
+++ b/blake2.cpp
@@ -25,7 +25,7 @@ NAMESPACE_BEGIN(CryptoPP)
// Sun Studio 12.3 and earlier lack SSE2's _mm_set_epi64x.
// Also see http://stackoverflow.com/a/38547909/608639
-#if ((defined(__SUNPRO_CC) && (__SUNPRO_CC < 0x5130)) || (defined(_MSC_VER) && (_MSC_VER >= 1200) && (_MSC_VER <= 1400))) && CRYPTOPP_BOOL_SSE2_AVAILABLE
+#if CRYPTOPP_BOOL_SSE2_INTRINSICS_AVAILABLE && ((__SUNPRO_CC >= 0x5100 && __SUNPRO_CC < 0x5130) || (_MSC_VER >= 1200 && _MSC_VER < 1600))
inline __m128i _mm_set_epi64x(const word64 a, const word64 b)
{
union INT_128_64x2 {