mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-29 02:18:59 +08:00
27 lines
968 B
Diff
27 lines
968 B
Diff
diff --git a/include/Zydis/ShortString.h b/include/Zydis/ShortString.h
|
|
index bed45af6..566d673a 100644
|
|
--- a/include/Zydis/ShortString.h
|
|
+++ b/include/Zydis/ShortString.h
|
|
@@ -45,7 +45,9 @@ extern "C" {
|
|
/* Enums and types */
|
|
/* ============================================================================================== */
|
|
|
|
-#pragma pack(push, 1)
|
|
+#if !(defined(ZYAN_AARCH64) && defined(ZYAN_APPLE))
|
|
+# pragma pack(push, 1)
|
|
+#endif
|
|
|
|
/**
|
|
* Defines the `ZydisShortString` struct.
|
|
@@ -67,7 +69,9 @@ typedef struct ZydisShortString_
|
|
ZyanU8 size;
|
|
} ZydisShortString;
|
|
|
|
-#pragma pack(pop)
|
|
+#if !(defined(ZYAN_AARCH64) && defined(ZYAN_APPLE))
|
|
+# pragma pack(pop)
|
|
+#endif
|
|
|
|
/* ============================================================================================== */
|
|
/* Macros */
|