diff options
author | Javier Smooth <iamjaviersmooth@gmail.com> | 2015-08-26 10:30:22 -0700 |
---|---|---|
committer | Javier Smooth <iamjaviersmooth@gmail.com> | 2015-08-26 10:30:22 -0700 |
commit | b19456dc6dff8af6b55a9d334d035834eb65c540 (patch) | |
tree | 7cad0cc051db158cf0de98277cec84b3c104b318 | |
parent | Merge pull request #390 (diff) | |
download | monero-b19456dc6dff8af6b55a9d334d035834eb65c540.tar.xz |
Re-enable optimized slow-hash if someone is trying to compile w/MSVC (disabling it was unintentional)
-rw-r--r-- | src/crypto/slow-hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/crypto/slow-hash.c b/src/crypto/slow-hash.c index 679edf7f9..2a746de3d 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 |