1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 12:05:11 -07:00

When using MSVC on aarch64, __ARM_ARCH is not defined

Reported by RADDI.net -- Thanks!
This commit is contained in:
Frank Denis 2024-01-07 16:12:41 +01:00
parent 56bef8abc5
commit 4c56848dcc

View File

@ -252,6 +252,9 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
# elif defined(_M_ARM64)
# ifndef __ARM_ARCH
# define __ARM_ARCH 1
# endif
# ifndef __ARM_NEON
# define __ARM_NEON 1
# endif