Skip to content

Commit

Permalink
Fix alignment issues with Intel macOS builds
Browse files Browse the repository at this point in the history
  • Loading branch information
athre0z committed Jan 16, 2024
1 parent 03b7723 commit a605f54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions include/Zydis/ShortString.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand All @@ -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

Expand Down

0 comments on commit a605f54

Please sign in to comment.