Skip to content

Commit 194eb7f

Browse files
authored
Merge pull request #1605 from sdroege/unix-mount-compat-api-no-windows
gio: Only provide UNIX mount compat API on UNIX platforms
2 parents 591bb05 + 77c64d8 commit 194eb7f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

gio/sys/src/manual.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -174,6 +174,7 @@ mod windows_streams {
174174
}
175175

176176
#[cfg(not(feature = "v2_84"))]
177+
#[cfg(target_family = "unix")]
177178
mod unix_mount_compat {
178179
#![allow(clippy::missing_safety_doc)]
179180

@@ -284,4 +285,5 @@ mod unix_mount_compat {
284285
}
285286

286287
#[cfg(not(feature = "v2_84"))]
288+
#[cfg(target_family = "unix")]
287289
pub use unix_mount_compat::*;

0 commit comments

Comments
 (0)