diff --git a/multihashing.cc b/multihashing.cc index a93bad62..3ee3c43e 100644 --- a/multihashing.cc +++ b/multihashing.cc @@ -12,13 +12,12 @@ #if defined(__ARM_ARCH) #define XMRIG_ARM 1 -#define __ARM_FEATURE_CRYPTO 1 #include "xmrig/crypto/CryptoNight_arm.h" #else #include "xmrig/crypto/CryptoNight_x86.h" #endif -#if (defined(__AES__) && (__AES__ == 1)) || (defined(__ARM_NEON) && (__ARM_NEON == 1)) +#if (defined(__AES__) && (__AES__ == 1)) || (defined(__ARM_FEATURE_CRYPTO) && (__ARM_FEATURE_CRYPTO == 1)) #define SOFT_AES false #else #warning Using software AES