From b19456dc6dff8af6b55a9d334d035834eb65c540 Mon Sep 17 00:00:00 2001 From: Javier Smooth Date: Wed, 26 Aug 2015 10:30:22 -0700 Subject: [PATCH] Re-enable optimized slow-hash if someone is trying to compile w/MSVC (disabling it was unintentional) --- src/crypto/slow-hash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index 679edf7f..2a746de3 100644 --- a/src/crypto/slow-hash.c +++ b/src/crypto/slow-hash.c @@ -37,7 +37,7 @@ #include "hash-ops.h" #include "oaes_lib.h" -#if defined(__x86_64__) +#if defined(__x86_64__) || (defined(_MSC_VER) && defined(_WIN64)) // Optimised code below, uses x86-specific intrinsics, SSE2, AES-NI // Fall back to more portable code is down at the bottom