Skip to content

Commit afebd98

Browse files
committed
Android doesn't expose res_init in header file
1 parent f93cf62 commit afebd98

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libc-test/build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,10 @@ fn main() {
469469
// it's in a header file?
470470
"endpwent" if android => true,
471471

472+
// Apparently it exists, but isn't defined in a header:
473+
// https://mail.gnome.org/archives/commits-list/2013-May/msg01329.html
474+
"res_init" if android => true,
475+
472476
_ => false,
473477
}
474478
});

0 commit comments

Comments
 (0)