Fixed alignment on a couple of SourcePawn debugging structures on OS X (bug 4578, r=dvander).

This problem only affected plugins compiled with a fairly old version of spcomp.
This commit is contained in:
Scott Ehlert 2010-08-19 22:51:42 -05:00
parent dc3050537b
commit dc5f82cce2

View File

@ -260,7 +260,7 @@ typedef struct fp_fdbg_ntvarg_s
uint32_t name; /**< Offset into debug nametable */ uint32_t name; /**< Offset into debug nametable */
} sp_fdbg_ntvarg_t; } sp_fdbg_ntvarg_t;
#if defined __linux__ #if defined __GNUC__
#pragma pack() /* reset default packing */ #pragma pack() /* reset default packing */
#else #else
#pragma pack(pop) /* reset previous packing */ #pragma pack(pop) /* reset previous packing */