include/begin_code.h
branchSDL-1.2
changeset 6203 bc960ba38aae
parent 6137 4720145f848b
child 11966 0c7962a4336f
     1.1 --- a/include/begin_code.h	Mon Jan 09 04:36:57 2012 -0500
     1.2 +++ b/include/begin_code.h	Mon Jan 09 07:06:36 2012 -0500
     1.3 @@ -132,7 +132,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  #elif (defined(__MWERKS__) && defined(__MACOS__))
    1.14  #pragma options align=mac68k4byte
    1.15  #pragma enumsalwaysint on