diff --git a/src/crypto/randomx/panthera/sha256.c b/src/crypto/randomx/panthera/sha256.c index ee2d5d24..156b13ad 100644 --- a/src/crypto/randomx/panthera/sha256.c +++ b/src/crypto/randomx/panthera/sha256.c @@ -39,7 +39,7 @@ #define restrict #elif __STDC_VERSION__ >= 199901L /* Have restrict */ -#elif defined(__GNUC__) +#elif defined(__GNUC__) && !defined(_MSC_VER) #define restrict __restrict #else #define restrict