1
0
Fork 0
mirror of https://github.com/tobast/libunwind-eh_elf.git synced 2025-01-24 17:20:30 +01:00

Define UNW_LOCAL_ONLY before including libunwind.h.

(Logical change 1.8)
This commit is contained in:
mostang.com!davidm 2002-02-28 16:24:48 +00:00
parent ede7c575f9
commit 97ae3ba79a
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@ This exception does not however invalidate any other reasons why the
executable file might be covered by the GNU General Public executable file might be covered by the GNU General Public
License. */ License. */
#define UNW_LOCAL_ONLY
#include <libunwind.h> #include <libunwind.h>
/* See glibc manual for a description of this function. */ /* See glibc manual for a description of this function. */

View file

@ -19,6 +19,8 @@ GNU General Public License for more details. */
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#define UNW_LOCAL_ONLY
#include <libunwind.h> #include <libunwind.h>
#define panic(args...) \ #define panic(args...) \