Fixed alignment on a couple of SourcePawn debugging structures on OS X (bug 4578, r=dvander).
authorScott Ehlert <ds@alliedmods.net>
Thu Aug 19 22:51:42 2010 -0500 (2010-08-19)
changeset 3114a30528e5cb8a
parent 3113 b10f29f88dea
child 3115 b4bd765050e4
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
     1.1 --- a/public/sourcepawn/sp_file_headers.h	Thu Aug 19 21:57:09 2010 -0400
     1.2 +++ b/public/sourcepawn/sp_file_headers.h	Thu Aug 19 22:51:42 2010 -0500
     1.3 @@ -260,7 +260,7 @@
     1.4  	uint32_t	name;		/**< Offset into debug nametable */
     1.5  } sp_fdbg_ntvarg_t;
     1.6  
     1.7 -#if defined __linux__
     1.8 +#if defined __GNUC__
     1.9  #pragma pack()    /* reset default packing */
    1.10  #else
    1.11  #pragma pack(pop) /* reset previous packing */