Skip to content

Commit 72f4c1a

Browse files
committed
uclibc: Re-enable __SIZEOF_PTHREAD_COND_T on non-L4Re uclibc
Resolves a uclibc build error introduced in the "Fixes" commit. Fixes: 2fe1d91 ("Separate L4Re from Linux code and enable tests") (backport <#4915>) (cherry picked from commit 3dad489)
1 parent 757e55a commit 72f4c1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/linux_like/linux_l4re_shared.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -953,7 +953,7 @@ pub const PTHREAD_PROCESS_PRIVATE: c_int = 0;
953953
pub const PTHREAD_PROCESS_SHARED: c_int = 1;
954954
pub const PTHREAD_INHERIT_SCHED: c_int = 0;
955955
pub const PTHREAD_EXPLICIT_SCHED: c_int = 1;
956-
#[cfg(not(target_env = "uclibc"))]
956+
#[cfg(not(all(target_os = "l4re", target_env = "uclibc")))]
957957
pub const __SIZEOF_PTHREAD_COND_T: usize = 48;
958958

959959
// netinet/in.h

0 commit comments

Comments
 (0)