Skip to content

Commit b59c8c6

Browse files
committed
attempt to fix glibc 32 bits case
1 parent 07af177 commit b59c8c6

File tree

1 file changed

+4
-0
lines changed
  • src/unix/linux_like/linux/gnu

1 file changed

+4
-0
lines changed

src/unix/linux_like/linux/gnu/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1116,6 +1116,10 @@ extern "C" {
11161116
) -> c_int;
11171117
pub fn pthread_sigqueue(thread: crate::pthread_t, sig: c_int, value: crate::sigval) -> c_int;
11181118
pub fn pthread_tryjoin_np(thread: crate::pthread_t, retval: *mut *mut c_void) -> c_int;
1119+
#[cfg_attr(
1120+
all(target_env = "gnu", target_pointer_width = "32", gnu_time_bits64),
1121+
link_name = "__pthread_timedjoin_np64"
1122+
)]
11191123
pub fn pthread_timedjoin_np(
11201124
thread: crate::pthread_t,
11211125
retval: *mut *mut c_void,

0 commit comments

Comments
 (0)