include/begin_code.h
changeset 6204 dc2eb9370e82
parent 6138 4c64952a58fb
child 6885 700f1b25f77f
child 8319 3fee3e6b616b
     1.1 --- a/include/begin_code.h	Mon Jan 09 04:53:58 2012 -0500
     1.2 +++ b/include/begin_code.h	Mon Jan 09 07:07:43 2012 -0500
     1.3 @@ -87,7 +87,12 @@
     1.4  #ifdef __BORLANDC__
     1.5  #pragma nopackwarning
     1.6  #endif
     1.7 +#ifdef _M_X64
     1.8 +/* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
     1.9 +#pragma pack(push,8)
    1.10 +#else
    1.11  #pragma pack(push,4)
    1.12 +#endif
    1.13  #endif /* Compiler needs structure packing set */
    1.14  
    1.15  /* Set up compiler-specific options for inlining functions */