Skip to content

Commit 19237c8

Browse files
committed
chore: wip
1 parent f032dd0 commit 19237c8

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

build.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,10 @@ fn main() {
177177
}
178178
}
179179

180-
if target_env == "uclibc" {}
180+
if target_env == "uclibc" && env::var("CARGO_CFG_LIBC_UNSTABLE_UCLIBC_FILE_OFFSET_BITS").is_ok()
181+
{
182+
set_cfg("uclibc_file_offset_bits64");
183+
}
181184

182185
// On CI: deny all warnings
183186
if libc_ci {

0 commit comments

Comments
 (0)