From 7c934e9308f8e7f47ac8b8282c5113b6f69c95a1 Mon Sep 17 00:00:00 2001 From: "(none)!davidm" <(none)!davidm> Date: Fri, 22 Feb 2002 21:58:53 +0000 Subject: [PATCH] For now, add #error directive to ensure compilation fails when attempting to compile with UNW_LOCAL_ONLY. (Logical change 1.5) --- src/ia64/unw_resume.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ia64/unw_resume.c b/src/ia64/unw_resume.c index dcb20522..e40db8ef 100644 --- a/src/ia64/unw_resume.c +++ b/src/ia64/unw_resume.c @@ -28,9 +28,9 @@ unw_resume (unw_cursor_t *cursor) { struct ia64_cursor *c = (struct ia64_cursor *) cursor; -#ifdef IA64_UNW_ACCESSORS - return (*c->acc.resume) (cursor, c->acc.arg); -#else +#ifdef UNW_LOCAL_ONLY # error fix me. +#else + return (*c->acc.resume) (cursor, c->acc.arg); #endif }