From af532e5dd169199fddb55016b67714fec4e533f7 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 1 Nov 2015 16:58:31 +0100 Subject: [PATCH] Correct logic for compiling SSE4.1 code --- .../crypto_generichash/blake2/ref/blake2b-compress-sse41.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c b/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c index 64bc5923..8c70e813 100644 --- a/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c +++ b/src/libsodium/crypto_generichash/blake2/ref/blake2b-compress-sse41.c @@ -5,7 +5,7 @@ #include #include -#if (defined(HAVE_EMMINTRIN_H) && defined(HAVE_TMMINTRIN_H) && defined(HAVE_SMMINTRIN_H)) && \ +#if (defined(HAVE_EMMINTRIN_H) && defined(HAVE_TMMINTRIN_H) && defined(HAVE_SMMINTRIN_H)) || \ (defined(_MSC_VER) && (defined(_M_X64) || defined(_M_AMD64))) #pragma GCC target("sse2")