Explorar o código

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

Disable Salsa20 SSE on MinGW 32-bit compiler
Grant Limberg %!s(int64=3) %!d(string=hai) anos
pai
achega
73878fbdc4
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      node/Salsa20.hpp

+ 1 - 1
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