diff options
author | Mike Frysinger <vapier@gentoo.org> | 2021-06-15 20:35:37 -0400 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2021-06-16 01:06:28 -0400 |
commit | b778e6b0799680e1d2b70d6b9d4bd3daa8898702 (patch) | |
tree | 6620251b0861d4375bef99d84b6a92773d33d550 /sim/ppc/basics.h | |
parent | 597656964120f19c06737eee3a530baf7aa9323a (diff) | |
download | fsf-binutils-gdb-b778e6b0799680e1d2b70d6b9d4bd3daa8898702.zip fsf-binutils-gdb-b778e6b0799680e1d2b70d6b9d4bd3daa8898702.tar.gz fsf-binutils-gdb-b778e6b0799680e1d2b70d6b9d4bd3daa8898702.tar.bz2 |
sim: ppc: replace local CONCAT macros with common ones
Drop local copies of CONCAT macros that the common ansidecl.h provides.
Diffstat (limited to 'sim/ppc/basics.h')
-rw-r--r-- | sim/ppc/basics.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/sim/ppc/basics.h b/sim/ppc/basics.h index 3eb7c61..d88bcef 100644 --- a/sim/ppc/basics.h +++ b/sim/ppc/basics.h @@ -24,22 +24,6 @@ /* This must come before any other includes. */ #include "defs.h" -/* from Michael Meissner, macro's to handle concating symbols better */ - -#if defined(__STDC__) || defined(ALMOST_STDC) -#define CONCAT2(a,b) a##b -#define CONCAT3(a,b,c) a##b##c -#define CONCAT4(a,b,c,d) a##b##c##d -#else -#define CONCAT2(a,b) a/**/b -#define CONCAT3(a,b,c) a/**/b/**/c -#define CONCAT4(a,b,c,d) a/**/b/**/c/**/d -#endif - -#define XCONCAT2(a,b) CONCAT2(a,b) -#define XCONCAT3(a,b,c) CONCAT3(a,b,c) -#define XCONCAT4(a,b,c,d) CONCAT4(a,b,c,d) - /* many things pass around the cpu and psim object with out knowing what it is */ |