Ignore:
Timestamp:
Feb 26, 2014, 1:44:45 AM (11 years ago)
Author:
bird
Message:

Slowly starting to make it build with non GCC compilers, first out is OpenWatcom.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libc/include/386/signal.h

    r1574 r3820  
    131131        int     sc_fpformat;
    132132        int     sc_ownedfp;
    133         int     sc_spare1[1];
     133        int     sc_spare1[1+1]; /* bird: added one int here to get the desire alignment.*/
     134#ifdef __GNUC__ /* bird */
    134135        int     sc_fpstate[128] __aligned(16);
     136#else
     137        int     sc_fpstate[128];
     138#endif
    135139        int     sc_spare2[8];
    136140};
     141
     142_Static_assert(!(__offsetof(struct sigcontext, sc_fpstate) & 15),); /* bird */
     143
    137144
    138145#define sc_sp           sc_esp
Note: See TracChangeset for help on using the changeset viewer.