From 120d59bfb9e5e05c36f097ae4c3de72c78d370e5 Mon Sep 17 00:00:00 2001 From: David Edelsohn Date: Mon, 19 Mar 2001 21:05:03 +0000 Subject: * encoding.c (TYPE_MODE): Define. From-SVN: r40633 --- libobjc/encoding.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'libobjc/encoding.c') diff --git a/libobjc/encoding.c b/libobjc/encoding.c index bbbb81c..a87f981 100644 --- a/libobjc/encoding.c +++ b/libobjc/encoding.c @@ -46,8 +46,8 @@ Boston, MA 02111-1307, USA. */ /* Various hacks for objc_layout_record. These are used by the target macros. */ -#define TREE_CODE(TYPE) *TYPE -#define TREE_TYPE(TREE) TREE +#define TREE_CODE(TYPE) *(TYPE) +#define TREE_TYPE(TREE) (TREE) #define RECORD_TYPE _C_STRUCT_B #define UNION_TYPE _C_UNION_B @@ -56,7 +56,8 @@ Boston, MA 02111-1307, USA. */ #define TYPE_FIELDS(TYPE) objc_skip_typespec (TYPE) -#define DECL_MODE(TYPE) *(TYPE) +#define DECL_MODE(TYPE) *(TYPE) +#define TYPE_MODE(TYPE) *(TYPE) #define DFmode _C_DBL -- cgit v1.1