Skip to content

Commit

Permalink
Fix compilation error on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Ploppz committed May 14, 2022
1 parent 0416ad1 commit be183d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -484,8 +484,8 @@ impl<S: SuffixScheme> FileRotate<S> {

open_options.read(true).create(true).append(true);

#[cfg(unix)]
if let Some(mode) = self.mode {
#[cfg(unix)]
open_options.mode(mode);
}

Expand Down

0 comments on commit be183d4

Please sign in to comment.