From dd554e45e861103da6b3b3c099165df92af58ba5 Mon Sep 17 00:00:00 2001 From: sunerok Date: Mon, 9 Sep 2024 19:00:29 -0400 Subject: [PATCH] change have to use, in scrypt header file --- src/crypto/pow/scrypt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/crypto/pow/scrypt.h b/src/crypto/pow/scrypt.h index bfae2c22..9b3fcca1 100644 --- a/src/crypto/pow/scrypt.h +++ b/src/crypto/pow/scrypt.h @@ -12,7 +12,7 @@ static const int SCRYPT_SCRATCHPAD_SIZE = 131072 + 63; void scrypt_1024_1_1_256(const char *input, char *output); void scrypt_1024_1_1_256_sp_generic(const char *input, char *output, char *scratchpad); -#if defined(HAVE_SSE2) +#if defined(USE_SSE2) #if defined(_M_X64) || defined(__x86_64__) || defined(_M_AMD64) || (defined(MAC_OSX) && defined(__i386__)) #define USE_SSE2_ALWAYS 1 #define scrypt_1024_1_1_256_sp(input, output, scratchpad) scrypt_1024_1_1_256_sp_sse2((input), (output), (scratchpad))