From bb5ba1d9bf1e83de32ea2da4975d4958e366c3da Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 17 Sep 2009 20:55:10 -0700 Subject: Fix build error with elfutils < 0.142. * loc2c.c [!_ELFUTILS_PREREQ (0,142)] (DW_OP_stack_value, DW_OP_implicit_value): Define as macros. --- loc2c.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'loc2c.c') diff --git a/loc2c.c b/loc2c.c index ce5979b9..c27242fa 100644 --- a/loc2c.c +++ b/loc2c.c @@ -22,8 +22,10 @@ #define _ELFUTILS_PREREQ(major, minor) (0 >= 1) #endif -#if ! _ELFUTILS_PREREQ(0,142) -#define DW_TAG_rvalue_reference_type 0x42 +#if !_ELFUTILS_PREREQ (0,142) +#define DW_TAG_rvalue_reference_type 0x42 +#define DW_OP_implicit_value 0x9e +#define DW_OP_stack_value 0x9f #endif #define N_(x) x -- cgit