1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

builtin: fix backtrace for OpenBSD and NetBSD

This commit is contained in:
radare 2020-03-16 12:10:58 +01:00 committed by GitHub
parent 900ada1112
commit 5581b2bd3c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -55,6 +55,12 @@ fn print_backtrace_skipping_top_frames_nix(xskipframes int) bool {
$if freebsd {
return print_backtrace_skipping_top_frames_freebsd(skipframes)
}
$if netbsd {
return print_backtrace_skipping_top_frames_freebsd(skipframes)
}
$if openbsd {
return print_backtrace_skipping_top_frames_freebsd(skipframes)
}
return false
}