mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 20:03:43 +01:00
Don't define UNW_LOCAL_ONLY before including libunwind.h. That was
a bad idea. (Logical change 1.151)
This commit is contained in:
parent
fe8b77aeaf
commit
adcb01f57f
1 changed files with 1 additions and 4 deletions
|
@ -27,14 +27,11 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
#define _UPT_internal_h
|
||||
|
||||
#include <errno.h>
|
||||
#include <libunwind.h>
|
||||
#include <limits.h>
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
/* ensure tdep_search_unwind_table() uses optimized (local-only) version */
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
|
||||
#include <sys/ptrace.h>
|
||||
|
||||
#include "internal.h"
|
||||
|
|
Loading…
Reference in a new issue