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:
parent
79106f9923
commit
7c934e9308
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue