Skip to content

Commit c815436

Browse files
authored
Merge pull request #161 from DragonSA/freebsd-fixes
Freebsd Fixes
2 parents fe6ba3e + e9258f2 commit c815436

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/machine.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const char * vmp_machine_os_name(void)
2828
#elif __linux__
2929
return "linux";
3030
#elif __FreeBSD__
31-
return "freebsd"
31+
return "freebsd";
3232
#else
3333
#error "Unknown compiler"
3434
#endif

src/vmp_stack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ static int (*unw_get_proc_name)(unw_cursor_t *, char *, size_t, unw_word_t*) = N
2929
static int (*unw_is_signal_frame)(unw_cursor_t *) = NULL;
3030
static int (*unw_getcontext)(unw_context_t *) = NULL;
3131
#else
32+
#define UNW_LOCAL_ONLY
3233
#include <libunwind.h>
3334
#endif
3435

0 commit comments

Comments
 (0)