Skip to content

Commit

Permalink
fix windows compilation of example
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpr03 committed Apr 28, 2022
1 parent 8e60f3d commit 480de9d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions examples/poll_sysfs.rs
Expand Up @@ -49,4 +49,6 @@ fn main() -> notify::Result<()> {
{
not_windows_main()
}
#[cfg(target_os = "windows")]
notify::Result::Ok(())
}

0 comments on commit 480de9d

Please sign in to comment.