mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 07:11:41 +00:00
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:
parent
f3682069e2
commit
e8721122b1
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue