mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 18:15:18 -07:00
When using MSVC on aarch64, __ARM_ARCH is not defined
Reported by RADDI.net -- Thanks!
This commit is contained in:
parent
6b76229db3
commit
5068a8f257
@ -250,6 +250,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