mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -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)
|
||||
|
||||
# ifndef __ARM_ARCH
|
||||
# define __ARM_ARCH 1
|
||||
# endif
|
||||
# ifndef __ARM_NEON
|
||||
# define __ARM_NEON 1
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user