aboutsummaryrefslogtreecommitdiff
path: root/gold/gold.h
diff options
context:
space:
mode:
authorIan Lance Taylor <iant@google.com>2006-11-03 18:38:43 +0000
committerIan Lance Taylor <iant@google.com>2006-11-03 18:38:43 +0000
commit593f47df457d5e059f49b1ce62d1b51d4a7cc3e4 (patch)
tree1f5b2070678b01fd88b1818246356679bd078d59 /gold/gold.h
parentead1e4244a55707685d105c662a9a1faf5d122fe (diff)
downloadgdb-593f47df457d5e059f49b1ce62d1b51d4a7cc3e4.zip
gdb-593f47df457d5e059f49b1ce62d1b51d4a7cc3e4.tar.gz
gdb-593f47df457d5e059f49b1ce62d1b51d4a7cc3e4.tar.bz2
gcc 3.2.2 portability hacks.
Diffstat (limited to 'gold/gold.h')
-rw-r--r--gold/gold.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/gold/gold.h b/gold/gold.h
index 1140d66..d55d1f6 100644
--- a/gold/gold.h
+++ b/gold/gold.h
@@ -96,13 +96,13 @@ namespace gold
#ifdef HAVE_MEMBER_TEMPLATE_SPECIFICATIONS
-#define SELECT_SIZE_NAME <size>
+#define SELECT_SIZE_NAME(size) <size>
#define SELECT_SIZE(size)
#define SELECT_SIZE_ONLY(size)
#define ACCEPT_SIZE
#define ACCEPT_SIZE_ONLY
-#define SELECT_SIZE_ENDIAN_NAME <size, big_endian>
+#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
@@ -115,13 +115,13 @@ class Select_size { };
template<int size, bool big_endian>
class Select_size_endian { };
-#define SELECT_SIZE_NAME
+#define SELECT_SIZE_NAME(size)
#define SELECT_SIZE(size) , Select_size<size>()
#define SELECT_SIZE_ONLY(size) Select_size<size>()
#define ACCEPT_SIZE , Select_size<size>
#define ACCEPT_SIZE_ONLY Select_size<size>
-#define SELECT_SIZE_ENDIAN_NAME
+#define SELECT_SIZE_ENDIAN_NAME(size, big_endian)
#define SELECT_SIZE_ENDIAN(size, big_endian) \
, Select_size_endian<size, big_endian>()
#define SELECT_SIZE_ENDIAN_ONLY(size, big_endian) \