File tree Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Expand file tree Collapse file tree 3 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2737,6 +2737,9 @@ fn test_linux(target: &str) {
2737
2737
// assume it's a int instead.
2738
2738
"getnameinfo" if uclibc => true ,
2739
2739
2740
+ // FIXME: This needs musl 1.2.2 or later.
2741
+ "gettid" if musl => true ,
2742
+
2740
2743
_ => false ,
2741
2744
}
2742
2745
} ) ;
Original file line number Diff line number Diff line change @@ -2809,6 +2809,8 @@ extern "C" {
2809
2809
pub fn regfree ( preg : * mut :: regex_t ) ;
2810
2810
2811
2811
pub fn android_set_abort_message ( msg : * const :: c_char ) ;
2812
+
2813
+ pub fn gettid ( ) -> :: pid_t ;
2812
2814
}
2813
2815
2814
2816
cfg_if ! {
Original file line number Diff line number Diff line change @@ -3594,6 +3594,8 @@ extern "C" {
3594
3594
outbytesleft : * mut :: size_t ,
3595
3595
) -> :: size_t ;
3596
3596
pub fn iconv_close ( cd : iconv_t ) -> :: c_int ;
3597
+
3598
+ pub fn gettid ( ) -> :: pid_t ;
3597
3599
}
3598
3600
3599
3601
cfg_if ! {
You can’t perform that action at this time.
0 commit comments