Visual Studio: define __ARM_NEON on Windows/ARM

This commit is contained in:
Frank Denis 2023-09-11 00:58:53 +02:00
parent 9a55460523
commit 709fb29e79

View File

@ -250,9 +250,10 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
# elif defined(_M_ARM64) # elif defined(_M_ARM64)
# ifdef __ARM_NEON # ifndef __ARM_NEON
# define HAVE_ARMCRYPTO 1 # define __ARM_NEON 1
# endif # endif
# define HAVE_ARMCRYPTO 1
# endif /* _MSC_VER */ # endif /* _MSC_VER */