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

bootstrapping: fix building V on OpenBSD (#12558)

This commit is contained in:
pancake 2021-11-24 08:46:46 +01:00 committed by GitHub
parent ff911986e7
commit 70ff00efbb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,7 +44,7 @@ fn print_backtrace_skipping_top_frames_bsd(skipframes int) bool {
$if no_backtrace ? {
return false
} $else {
$if macos || freebsd || openbsd || netbsd {
$if macos || freebsd || netbsd {
buffer := [100]voidptr{}
nr_ptrs := C.backtrace(&buffer[0], 100)
if nr_ptrs < 2 {