From 41ef538b2a9e43c4a04f1852ebc66e4a4b791d9e Mon Sep 17 00:00:00 2001 From: Jake Shadle Date: Wed, 17 Jan 2024 15:05:33 +0100 Subject: [PATCH] Why --- build_zng.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/build_zng.rs b/build_zng.rs index 0317a465..59d39d82 100644 --- a/build_zng.rs +++ b/build_zng.rs @@ -314,8 +314,7 @@ pub fn build_zlib_ng(target: &str, compat: bool) { .define("HAVE_THREAD_LOCAL", None) .define("HAVE_VISIBILITY_HIDDEN", None) .define("HAVE_VISIBILITY_INTERNAL", None) - .define("Z_HAVE_UNISTD_H", None) - .define("_FILE_OFFSET_BITS", "64") + .define("z_off_t", "int64_t") .define("_LARGEFILE64_SOURCE", "1") .define("__USE_LARGEFILE64", None); }