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:
parent
dc3050537b
commit
dc5f82cce2
@ -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 */
|
||||||
|
Loading…
Reference in New Issue
Block a user