Fix glibc 2.26 incompatibilities #788
This commit is contained in:
parent
e4f8ab82bc
commit
4ed612c124
@ -142,7 +142,6 @@ fn main() {
|
|||||||
|
|
||||||
if !netbsd && !openbsd && !uclibc {
|
if !netbsd && !openbsd && !uclibc {
|
||||||
cfg.header("execinfo.h");
|
cfg.header("execinfo.h");
|
||||||
cfg.header("xlocale.h");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if openbsd {
|
if openbsd {
|
||||||
@ -158,6 +157,7 @@ fn main() {
|
|||||||
cfg.header("mach/mach_time.h");
|
cfg.header("mach/mach_time.h");
|
||||||
cfg.header("malloc/malloc.h");
|
cfg.header("malloc/malloc.h");
|
||||||
cfg.header("util.h");
|
cfg.header("util.h");
|
||||||
|
cfg.header("xlocale.h");
|
||||||
cfg.header("sys/xattr.h");
|
cfg.header("sys/xattr.h");
|
||||||
cfg.header("sys/sys_domain.h");
|
cfg.header("sys/sys_domain.h");
|
||||||
if target.starts_with("x86") {
|
if target.starts_with("x86") {
|
||||||
@ -409,6 +409,7 @@ fn main() {
|
|||||||
"ERROR_NOTHING_TO_TERMINATE" if mingw => true,
|
"ERROR_NOTHING_TO_TERMINATE" if mingw => true,
|
||||||
|
|
||||||
"SIG_IGN" => true, // sighandler_t weirdness
|
"SIG_IGN" => true, // sighandler_t weirdness
|
||||||
|
"SIGUNUSED" => true, // removed in glibc 2.26
|
||||||
|
|
||||||
// types on musl are defined a little differently
|
// types on musl are defined a little differently
|
||||||
n if musl && n.contains("__SIZEOF_PTHREAD") => true,
|
n if musl && n.contains("__SIZEOF_PTHREAD") => true,
|
||||||
|
Loading…
Reference in New Issue
Block a user