mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-24 04:25:10 -07:00
When using MSVC on aarch64, __ARM_ARCH is not defined
Reported by RADDI.net -- Thanks!
This commit is contained in:
parent
56bef8abc5
commit
4c56848dcc
@ -252,6 +252,9 @@ xor_buf(unsigned char *out, const unsigned char *in, size_t n)
|
|||||||
|
|
||||||
# elif defined(_M_ARM64)
|
# elif defined(_M_ARM64)
|
||||||
|
|
||||||
|
# ifndef __ARM_ARCH
|
||||||
|
# define __ARM_ARCH 1
|
||||||
|
# endif
|
||||||
# ifndef __ARM_NEON
|
# ifndef __ARM_NEON
|
||||||
# define __ARM_NEON 1
|
# define __ARM_NEON 1
|
||||||
# endif
|
# endif
|
||||||
|
Loading…
Reference in New Issue
Block a user