diff options
Diffstat (limited to 'gold/gold.h')
-rw-r--r-- | gold/gold.h | 8 |
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) \ |