From ed6639ee60649506c0a7c8f306f035466db77b6e Mon Sep 17 00:00:00 2001 From: James Aldridge Date: Wed, 17 Jan 2024 00:01:55 +0000 Subject: [PATCH] fix zydis alignment issue during build for intel macs (#3312) Fix zydis alignment issues when building on Intel macOS builds was discussed with zydis devs https://github.com/zyantific/zydis/issues/474 Verified locally that I can run open goal with the change. Co-authored-by: JamesAldridge --- third-party/zydis/include/Zydis/ShortString.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/third-party/zydis/include/Zydis/ShortString.h b/third-party/zydis/include/Zydis/ShortString.h index c75988555..cac57a37e 100644 --- a/third-party/zydis/include/Zydis/ShortString.h +++ b/third-party/zydis/include/Zydis/ShortString.h @@ -44,7 +44,7 @@ extern "C" { /* Enums and types */ /* ============================================================================================== */ -#if !(defined(ZYAN_AARCH64) && defined(ZYAN_APPLE)) +#if !defined(ZYAN_APPLE) # pragma pack(push, 1) #endif @@ -68,7 +68,7 @@ typedef struct ZydisShortString_ ZyanU8 size; } ZydisShortString; -#if !(defined(ZYAN_AARCH64) && defined(ZYAN_APPLE)) +#if !defined(ZYAN_APPLE) # pragma pack(pop) #endif