Skip to content
Snippets Groups Projects
Commit c97eef23 authored by Eidolon's avatar Eidolon Committed by Alam Ed Arias
Browse files

Use gcc_struct on ATTRPACK too

parent 8a4ec56e
No related branches found
No related tags found
No related merge requests found
......@@ -307,7 +307,11 @@ typedef UINT32 tic_t;
#define FUNCTARGET(X) __attribute__ ((__target__ (X)))
#endif
#endif
#if defined (__MINGW32__) && ((__GNUC__ > 3) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
#define ATTRPACK __attribute__((packed, gcc_struct))
#else
#define ATTRPACK __attribute__((packed))
#endif
#define ATTRUNUSED __attribute__((unused))
#ifdef _XBOX
#define FILESTAMP I_OutputMsg("%s:%d\n",__FILE__,__LINE__);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment