diff --git a/src/libsodium/crypto_aead/aes256gcm/aead_aes256gcm.c b/src/libsodium/crypto_aead/aes256gcm/aead_aes256gcm.c index 2946ba87..04cc88ab 100644 --- a/src/libsodium/crypto_aead/aes256gcm/aead_aes256gcm.c +++ b/src/libsodium/crypto_aead/aes256gcm/aead_aes256gcm.c @@ -47,7 +47,7 @@ crypto_aead_aes256gcm_keygen(unsigned char k[crypto_aead_aes256gcm_KEYBYTES]) randombytes_buf(k, crypto_aead_aes256gcm_KEYBYTES); } -#if !((defined(HAVE_ARMCRYPTO) && defined(__clang__) && defined(NATIVE_LITTLE_ENDIAN)) || \ +#if !((defined(HAVE_ARMCRYPTO) && defined(NATIVE_LITTLE_ENDIAN)) || \ (defined(HAVE_TMMINTRIN_H) && defined(HAVE_WMMINTRIN_H))) #ifndef ENOSYS diff --git a/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c b/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c index 60f40bdd..e935a1b6 100644 --- a/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c +++ b/src/libsodium/crypto_aead/aes256gcm/armcrypto/aead_aes256gcm_armcrypto.c @@ -13,7 +13,7 @@ #include "runtime.h" #include "utils.h" -#if defined(HAVE_ARMCRYPTO) && defined(__clang__) && defined(NATIVE_LITTLE_ENDIAN) +#if defined(HAVE_ARMCRYPTO) && defined(NATIVE_LITTLE_ENDIAN) #if !defined(_MSC_VER) || _MSC_VER < 1800 #define __vectorcall