include/begin_code.h
branchSDL-1.2
changeset 6203 bc960ba38aae
parent 6137 4720145f848b
child 11966 0c7962a4336f
equal deleted inserted replaced
6199:a1d200f7ed38 6203:bc960ba38aae
   130 #pragma warning(disable: 4103)
   130 #pragma warning(disable: 4103)
   131 #endif
   131 #endif
   132 #ifdef __BORLANDC__
   132 #ifdef __BORLANDC__
   133 #pragma nopackwarning
   133 #pragma nopackwarning
   134 #endif
   134 #endif
       
   135 #ifdef _M_X64
       
   136 /* Use 8-byte alignment on 64-bit architectures, so pointers are aligned */
       
   137 #pragma pack(push,8)
       
   138 #else
   135 #pragma pack(push,4)
   139 #pragma pack(push,4)
       
   140 #endif
   136 #elif (defined(__MWERKS__) && defined(__MACOS__))
   141 #elif (defined(__MWERKS__) && defined(__MACOS__))
   137 #pragma options align=mac68k4byte
   142 #pragma options align=mac68k4byte
   138 #pragma enumsalwaysint on
   143 #pragma enumsalwaysint on
   139 #endif /* Compiler needs structure packing set */
   144 #endif /* Compiler needs structure packing set */
   140 
   145