From 91da9340ccc0b222d729c9f775b2d4ec1480ee75 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 6 Dec 2006 00:28:03 +0000 Subject: gcc 3.2.2 and 4.1.0 portability hacks. --- gold/gold.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'gold/gold.h') 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) #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() #define ACCEPT_SIZE , Select_size #define ACCEPT_SIZE_ONLY Select_size +#define ACCEPT_SIZE_EXPLICIT(size) , Select_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() #define ACCEPT_SIZE_ENDIAN , Select_size_endian #define ACCEPT_SIZE_ENDIAN_ONLY Select_size_endian +#define ACCEPT_SIZE_ENDIAN_EXPLICIT(size, big_endian) \ + , Select_size_endian #endif // !defined(HAVE_MEMBER_TEMPLATE_SPECIFICATIONS) -- cgit v1.1