aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-12-06 00:28:03 +0000
committerIan Lance Taylor <iant@google.com>2006-12-06 00:28:03 +0000
commit91da9340ccc0b222d729c9f775b2d4ec1480ee75 (patch)
tree42f402c173aaf6337b63a492ff4d7aad50b8426d /gold/gold.h
parent14b317405813ed4aaf59235b5bfaf4f8decf1ad0 (diff)
downloadgdb-91da9340ccc0b222d729c9f775b2d4ec1480ee75.zip
gdb-91da9340ccc0b222d729c9f775b2d4ec1480ee75.tar.gz
gdb-91da9340ccc0b222d729c9f775b2d4ec1480ee75.tar.bz2
gcc 3.2.2 and 4.1.0 portability hacks.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/gold.h b/gold/gold.h
index e4cd786..288d9eb 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -101,12 +101,14 @@ namespace gold
#define SELECT_SIZE_ONLY(size)
#define ACCEPT_SIZE
#define ACCEPT_SIZE_ONLY
+#define ACCEPT_SIZE_EXPLICIT(size)
#define SELECT_SIZE_ENDIAN_NAME(size, big_endian) <size, big_endian>
#define SELECT_SIZE_ENDIAN(size, big_endian)
#define SELECT_SIZE_ENDIAN_ONLY(size, big_endian)
#define ACCEPT_SIZE_ENDIAN
#define ACCEPT_SIZE_ENDIAN_ONLY
+#define ACCEPT_SIZE_ENDIAN_EXPLICIT(size, big_endian)
#else // !defined(HAVE_MEMBER_TEMPLATE_SPECIFICATIONS)
@@ -120,6 +122,7 @@ class Select_size_endian { };
#define SELECT_SIZE_ONLY(size) Select_size<size>()
#define ACCEPT_SIZE , Select_size<size>
#define ACCEPT_SIZE_ONLY Select_size<size>
+#define ACCEPT_SIZE_EXPLICIT(size) , Select_size<size>
#define SELECT_SIZE_ENDIAN_NAME(size, big_endian)
#define SELECT_SIZE_ENDIAN(size, big_endian) \
@@ -128,6 +131,8 @@ class Select_size_endian { };
Select_size_endian<size, big_endian>()
#define ACCEPT_SIZE_ENDIAN , Select_size_endian<size, big_endian>
#define ACCEPT_SIZE_ENDIAN_ONLY Select_size_endian<size, big_endian>
+#define ACCEPT_SIZE_ENDIAN_EXPLICIT(size, big_endian) \
+ , Select_size_endian<size, big_endian>
#endif // !defined(HAVE_MEMBER_TEMPLATE_SPECIFICATIONS)