Enable arm64 for non-Windows targets (thanks, pastdue!). default tip
authorRyan C. Gordon <icculus@icculus.org>
Mon, 18 Jan 2021 18:33:00 -0500
changeset 1693 d233dd1faf89
parent 1692 acdcf93d1f9b
Enable arm64 for non-Windows targets (thanks, pastdue!). Co-authored-by: Victor Romero <romerosanchezv@gmail.com>
src/physfs_lzmasdk.h
--- a/src/physfs_lzmasdk.h	Fri Jun 12 03:37:58 2020 -0400
+++ b/src/physfs_lzmasdk.h	Mon Jan 18 18:33:00 2021 -0500
@@ -506,6 +506,7 @@
 #endif
 
 #if defined(MY_CPU_AMD64) \
+    || defined(_M_ARM64) \
     || defined(_M_IA64) \
     || defined(__AARCH64EL__) \
     || defined(__AARCH64EB__)
@@ -531,6 +532,8 @@
 
 #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)