mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-10 23:39:00 +08:00
aaeca7b000
* [physfs] Patches to fix behavior on macOS / Linux * Run x-add-version physfs * Update ports/physfs/portfile.cmake * Update ports/physfs/portfile.cmake * Update versions/p-/physfs.json Co-authored-by: Jack·Boos·Yu <47264268+JackBoosY@users.noreply.github.com>
21 lines
654 B
Diff
21 lines
654 B
Diff
diff --git a/src/physfs_lzmasdk.h b/src/physfs_lzmasdk.h
|
|
--- a/src/physfs_lzmasdk.h
|
|
+++ b/src/physfs_lzmasdk.h
|
|
@@ -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__)
|
|
@@ -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)
|