Skip to content

Commit

Permalink
Enable arm64 for non-Windows targets (thanks, pastdue!).
Browse files Browse the repository at this point in the history
Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
  • Loading branch information
icculus and vicroms committed Jan 18, 2021
1 parent 55c3d9f commit 009be5a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/physfs_lzmasdk.h
Expand Up @@ -506,6 +506,7 @@ MY_CPU_LE_UNALIGN means that CPU is LITTLE ENDIAN and CPU supports unaligned mem
#endif

#if defined(MY_CPU_AMD64) \
|| defined(_M_ARM64) \
|| defined(_M_IA64) \
|| defined(__AARCH64EL__) \
|| defined(__AARCH64EB__)
Expand All @@ -531,6 +532,8 @@ MY_CPU_LE_UNALIGN means that CPU is LITTLE ENDIAN and CPU supports unaligned mem

#if defined(_WIN32) && defined(_M_ARM)
#define MY_CPU_ARM_LE
#elif defined(_WIN64) && defined(_M_ARM64)
#define MY_CPU_ARM_LE
#endif

#if defined(_WIN32) && defined(_M_IA64)
Expand Down

0 comments on commit 009be5a

Please sign in to comment.