We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 93abccb + c200d28 commit fdd07d4Copy full SHA for fdd07d4
src/lib.rs
@@ -21,9 +21,12 @@ pub type voidpf = *mut c_void;
21
pub enum gzFile_s {}
22
pub enum internal_state {}
23
24
-#[cfg(feature = "libc")]
+#[cfg(all(feature = "libc", not(all(target_family = "wasm", target_os = "unknown"))))]
25
pub type z_off_t = libc::off_t;
26
27
+#[cfg(all(feature = "libc", all(target_family = "wasm", target_os = "unknown")))]
28
+pub type z_off_t = c_long;
29
+
30
#[repr(C)]
31
#[derive(Copy, Clone)]
32
pub struct gz_header {
0 commit comments