Skip to content
Permalink
Browse files

Fixed structure alignment mismatch between Visual Studio and gcc on 6…

…4-bit architectures.
  • Loading branch information
slouken committed Jan 9, 2012
1 parent 817925a commit 60f8169d18565534757b2a6e129b94ff275c2068
Showing with 5 additions and 0 deletions.
  1. +5 −0 include/begin_code.h
@@ -132,7 +132,12 @@
#ifdef __BORLANDC__
#pragma nopackwarning
#endif
#ifdef _M_X64
/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
#pragma pack(push,8)
#else
#pragma pack(push,4)
#endif
#elif (defined(__MWERKS__) && defined(__MACOS__))
#pragma options align=mac68k4byte
#pragma enumsalwaysint on

0 comments on commit 60f8169

Please sign in to comment.