Skip to content

Commit d6317b6

Browse files
committed
Auto merge of #727 - semarie:openbsd-si_addr, r=alexcrichton
skip siginfo_t.si_addr type check on OpenBSD the type changed from *c_char to *c_void in 6.1
2 parents aa2b54f + 56701a7 commit d6317b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

libc-test/build.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -612,6 +612,8 @@ fn main() {
612612
(struct_ == "aiocb" && field == "aio_buf") ||
613613
// stack_t.ss_sp's type changed from FreeBSD 10 to 11 in svn r294930
614614
(freebsd && struct_ == "stack_t" && field == "ss_sp") ||
615+
// type siginfo_t.si_addr changed from OpenBSD 6.0 to 6.1
616+
(openbsd && struct_ == "siginfo_t" && field == "si_addr") ||
615617
// this one is an anonymous union
616618
(linux && struct_ == "ff_effect" && field == "u")
617619
});

0 commit comments

Comments
 (0)