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:
parent
ff911986e7
commit
70ff00efbb
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user