diff -r 9a98ff4a2290 Modules/_tracemalloc.c --- a/Modules/_tracemalloc.c Wed Jan 22 05:49:11 2014 -0800 +++ b/Modules/_tracemalloc.c Thu Jan 23 00:17:44 2014 +0100 @@ -61,7 +61,9 @@ static PyThread_type_lock tables_lock; architectures: 12 bytes instead of 16. This optimization might produce SIGBUS on architectures not supporting unaligned memory accesses (64-bit IPS CPU?): on such architecture, the structure must not be packed. */ -#pragma pack(4) +#ifdef _MSC_VER +# pragma pack(4) +#endif typedef struct #ifdef __GNUC__ __attribute__((packed))