mirror of
https://github.com/open-goal/jak-project.git
synced 2024-10-20 00:57:44 -04:00
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 <jamesaldridge@gmail.com>
This commit is contained in:
parent
1dba36c614
commit
ed6639ee60
4
third-party/zydis/include/Zydis/ShortString.h
generated
vendored
4
third-party/zydis/include/Zydis/ShortString.h
generated
vendored
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue