From 87d17088ccec58de576de05b2b9c07ea569f5aa6 Mon Sep 17 00:00:00 2001 From: staphen Date: Tue, 4 Jan 2022 18:11:08 -0500 Subject: [PATCH] Disable Salsa20 SSE on MinGW 32-bit compiler --- node/Salsa20.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/node/Salsa20.hpp b/node/Salsa20.hpp index bfb6d9d9d..ae618cbf4 100644 --- a/node/Salsa20.hpp +++ b/node/Salsa20.hpp @@ -15,7 +15,7 @@ #include "Constants.hpp" #include "Utils.hpp" -#if (!defined(ZT_SALSA20_SSE)) && (defined(__SSE2__) || defined(__WINDOWS__)) +#if (!defined(ZT_SALSA20_SSE)) && (defined(__SSE2__) || (defined(__WINDOWS__) && !defined(__MINGW32__))) #define ZT_SALSA20_SSE 1 #endif