Skip to content
Snippets Groups Projects
Commit 56701a7f authored by Sébastien Marie's avatar Sébastien Marie
Browse files

skip siginfo_t.si_addr type check on OpenBSD

the type changed from *c_char to *c_void in 6.1
parent aa2b54f8
No related branches found
No related tags found
No related merge requests found
...@@ -612,6 +612,8 @@ fn main() { ...@@ -612,6 +612,8 @@ fn main() {
(struct_ == "aiocb" && field == "aio_buf") || (struct_ == "aiocb" && field == "aio_buf") ||
// stack_t.ss_sp's type changed from FreeBSD 10 to 11 in svn r294930 // stack_t.ss_sp's type changed from FreeBSD 10 to 11 in svn r294930
(freebsd && struct_ == "stack_t" && field == "ss_sp") || (freebsd && struct_ == "stack_t" && field == "ss_sp") ||
// type siginfo_t.si_addr changed from OpenBSD 6.0 to 6.1
(openbsd && struct_ == "siginfo_t" && field == "si_addr") ||
// this one is an anonymous union // this one is an anonymous union
(linux && struct_ == "ff_effect" && field == "u") (linux && struct_ == "ff_effect" && field == "u")
}); });
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment