mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-15 01:01:33 +00:00
Use gcc_struct on ATTRPACK too
This commit is contained in:
parent
8a4ec56ef5
commit
c97eef238e
1 changed files with 4 additions and 0 deletions
|
@ -307,7 +307,11 @@ typedef UINT32 tic_t;
|
||||||
#define FUNCTARGET(X) __attribute__ ((__target__ (X)))
|
#define FUNCTARGET(X) __attribute__ ((__target__ (X)))
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
#if defined (__MINGW32__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
||||||
|
#define ATTRPACK __attribute__((packed, gcc_struct))
|
||||||
|
#else
|
||||||
#define ATTRPACK __attribute__((packed))
|
#define ATTRPACK __attribute__((packed))
|
||||||
|
#endif
|
||||||
#define ATTRUNUSED __attribute__((unused))
|
#define ATTRUNUSED __attribute__((unused))
|
||||||
#ifdef _XBOX
|
#ifdef _XBOX
|
||||||
#define FILESTAMP I_OutputMsg("%s:%d\n",__FILE__,__LINE__);
|
#define FILESTAMP I_OutputMsg("%s:%d\n",__FILE__,__LINE__);
|
||||||
|
|
Loading…
Reference in a new issue