Disable Salsa20 SSE on MinGW 32-bit compiler

This commit is contained in:
staphen 2022-01-04 18:11:08 -05:00
parent e556a2ee23
commit 87d17088cc
No known key found for this signature in database
GPG Key ID: E6D757EEF0CE235F

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