--- gcc/config/i386/scodbx.h 2018/04/24 18:10:27 1.1 +++ gcc/config/i386/scodbx.h 2018/04/24 18:23:05 1.1.1.3 @@ -49,7 +49,7 @@ the Free Software Foundation, 675 Mass A /* Specify predefined symbols in preprocessor. */ #undef CPP_PREDEFINES -#define CPP_PREDEFINES "-Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP" +#define CPP_PREDEFINES "-Dunix -Di386 -DM_UNIX -DM_I386 -DM_COFF -DM_WORDSWAP -Asystem(unix) -Asystem(svr3) -Acpu(i386) -Amachine(i386)" #undef CPP_SPEC #define CPP_SPEC "%{scointl:-DM_INTERNAT}" @@ -81,8 +81,11 @@ the Free Software Foundation, 675 Mass A == void_type_node))) ? (SIZE) \ : 0) /* On other 386 systems, the last line looks like this: - : (aggregate_value_p (FUNTYPE)) ? GET_MODE_SIZE (Pmode) : 0) */ + : (aggregate_value_p (TREE_TYPE (FUNTYPE))) ? GET_MODE_SIZE (Pmode) : 0) */ /* Use periods rather than dollar signs in special g++ assembler names. */ #define NO_DOLLAR_IN_LABEL + +/* Handle #pragma pack. */ +#define HANDLE_SYSV_PRAGMA