#define __GNUC__ = 2.1

__GNUC__ nowadays as macro seems to mean the "GNU C dialect"
rather than the compiler itself.  See also

  http://gcc.gnu.org/ml/gcc/2008-07/msg00026.html

This patch will probably cause problems of various kinds but
maybe we should try nonetheless.
This commit is contained in:
grischka
2016-10-15 16:01:16 +02:00
parent 4d247c00a3
commit f3c1ea6c2d
3 changed files with 27 additions and 6 deletions

View File

@ -3104,10 +3104,14 @@ static void parse_attribute(AttributeDef *ad)
case TOK_MODE_DI:
ad->a.mode = VT_LLONG + 1;
break;
case TOK_MODE_QI:
ad->a.mode = VT_BYTE + 1;
break;
case TOK_MODE_HI:
ad->a.mode = VT_SHORT + 1;
break;
case TOK_MODE_SI:
case TOK_MODE_word:
ad->a.mode = VT_INT + 1;
break;
default: