Merge pull request #1531 from StephenCWills/mingw32-disable-salsasse

Disable Salsa20 SSE on MinGW 32-bit compiler
This commit is contained in:
Grant Limberg 2022-01-04 17:42:40 -08:00 committed by GitHub
commit 73878fbdc4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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