Skip to content

Commit

Permalink
When using MSVC on aarch64, __ARM_ARCH is not defined
Browse files Browse the repository at this point in the history
Reported by RADDI.net -- Thanks!
  • Loading branch information
jedisct1 committed Jan 7, 2024
1 parent 6b76229 commit 5068a8f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/libsodium/include/sodium/private/common.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5068a8f

Please sign in to comment.