From dc5f82cce2a2237d27b31b1721935a9020c4d3e8 Mon Sep 17 00:00:00 2001 From: Scott Ehlert Date: Thu, 19 Aug 2010 22:51:42 -0500 Subject: [PATCH] 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. --- public/sourcepawn/sp_file_headers.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/sourcepawn/sp_file_headers.h b/public/sourcepawn/sp_file_headers.h index 151cc953..f09b3f78 100644 --- a/public/sourcepawn/sp_file_headers.h +++ b/public/sourcepawn/sp_file_headers.h @@ -260,7 +260,7 @@ typedef struct fp_fdbg_ntvarg_s uint32_t name; /**< Offset into debug nametable */ } sp_fdbg_ntvarg_t; -#if defined __linux__ +#if defined __GNUC__ #pragma pack() /* reset default packing */ #else #pragma pack(pop) /* reset previous packing */