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 12, 2022
1 parent e725fbc commit d0d111e
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 d0d111e

Please sign in to comment.