1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2024-11-22 07:37:38 +01:00

For now, add #error directive to ensure compilation fails when

attempting to compile with UNW_LOCAL_ONLY.

(Logical change 1.5)
This commit is contained in:
(none)!davidm 2002-02-22 21:58:53 +00:00
parent 79106f9923
commit 7c934e9308

View file

@ -28,9 +28,9 @@ unw_resume (unw_cursor_t *cursor)
{ {
struct ia64_cursor *c = (struct ia64_cursor *) cursor; struct ia64_cursor *c = (struct ia64_cursor *) cursor;
#ifdef IA64_UNW_ACCESSORS #ifdef UNW_LOCAL_ONLY
return (*c->acc.resume) (cursor, c->acc.arg);
#else
# error fix me. # error fix me.
#else
return (*c->acc.resume) (cursor, c->acc.arg);
#endif #endif
} }