Skip to content

Commit 9180fa2

Browse files
committed
Suppress unexpected cfg from winapi crate
1 parent 590b39b commit 9180fa2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/directsound.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
33
#![cfg(target_os = "windows")]
44
#![allow(non_snake_case)]
5+
#![allow(unexpected_cfgs)]
56

67
use crate::{AudioOutputDevice, BaseAudioOutputDevice, OutputDeviceParameters};
78
use std::{
@@ -34,7 +35,6 @@ use winapi::{
3435
};
3536

3637
// Declare missing structs and interfaces.
37-
#[allow(unexpected_cfgs)]
3838
STRUCT! {struct DSBPOSITIONNOTIFY {
3939
dwOffset: DWORD,
4040
hEventNotify: HANDLE,

0 commit comments

Comments
 (0)