sim: ppc: replace local __attribute__ fallback
The common ansidecl.h provides fallbacks for these so we don't need to.
This commit is contained in:
parent
69ff2dac7a
commit
1b828ebe53
3 changed files with 7 additions and 15 deletions
|
@ -1,3 +1,9 @@
|
|||
2021-06-16 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* basics.h (__attribute__): Delete.
|
||||
* misc.h (__attribute__): Likewise.
|
||||
Include ansidecl.h.
|
||||
|
||||
2021-06-16 Mike Frysinger <vapier@gentoo.org>
|
||||
|
||||
* cpu.h: Include ansidecl.h.
|
||||
|
|
|
@ -83,15 +83,6 @@ typedef enum {
|
|||
#include <stdlib.h>
|
||||
|
||||
|
||||
#if !defined (__attribute__)
|
||||
#if (!defined(__GNUC__) \
|
||||
|| (__GNUC__ < 2) \
|
||||
|| (__GNUC__ == 2 && __GNUC_MINOR__ < 6))
|
||||
#define __attribute__(arg)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
|
||||
/* Basic definitions - ordered so that nothing calls what comes after
|
||||
it */
|
||||
|
||||
|
|
|
@ -27,12 +27,7 @@
|
|||
#include <string.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#if !defined (__attribute__) && (!defined(__GNUC__) || __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 7))
|
||||
#define __attribute__(arg)
|
||||
#endif
|
||||
|
||||
|
||||
|
||||
#include "ansidecl.h"
|
||||
#include "filter_filename.h"
|
||||
|
||||
extern void error
|
||||
|
|
Loading…
Add table
Reference in a new issue