Use __attribute__((gcc_struct)) on dstatement_t.

Trust Microsoft to have really weird structure layout rules. Ah, well, this
fixes the weird progs errors Sock was getting.
This commit is contained in:
Bill Currie 2013-01-20 22:13:55 +09:00
parent f3682069e2
commit e8721122b1

View file

@ -314,7 +314,7 @@ void PR_Opcode_Init (void);
typedef struct dstatement_s {
pr_opcode_e op:16;
pr_ushort_t a,b,c;
} dstatement_t;
} __attribute__((gcc_struct)) dstatement_t;
typedef struct ddef_s {
pr_ushort_t type; // if DEF_SAVEGLOBGAL bit is set