@@ -29,31 +29,31 @@ pub use win32_display::Win32DisplayFilterHandle;
29
29
mod win32_hcursor;
30
30
mod win32_surface;
31
31
32
- #[ cfg( not( feature = "win32" ) ) ]
32
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
33
33
pub struct HANDLE ( pub isize ) ;
34
- #[ cfg( not( feature = "win32" ) ) ]
34
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
35
35
pub struct HCURSOR ( pub isize ) ;
36
- #[ cfg( not( feature = "win32" ) ) ]
36
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
37
37
pub struct HICON ( pub isize ) ;
38
- #[ cfg( not( feature = "win32" ) ) ]
38
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
39
39
pub struct HWND ( pub isize ) ;
40
40
41
- #[ cfg( not( feature = "win32" ) ) ]
41
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
42
42
#[ repr( transparent) ]
43
43
pub struct WPARAM ( pub usize ) ;
44
- #[ cfg( not( feature = "win32" ) ) ]
44
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
45
45
#[ repr( transparent) ]
46
46
pub struct LPARAM ( pub isize ) ;
47
47
48
- #[ cfg( not( feature = "win32" ) ) ]
48
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
49
49
#[ repr( C ) ]
50
50
pub struct POINT {
51
51
pub x : i32 ,
52
52
pub y : i32 ,
53
53
}
54
54
55
55
#[ allow( non_snake_case) ]
56
- #[ cfg( not( feature = "win32" ) ) ]
56
+ #[ cfg( not( all ( feature = "win32" , windows ) ) ) ]
57
57
#[ repr( C ) ]
58
58
pub struct MSG {
59
59
pub hwnd : HWND ,
@@ -64,7 +64,7 @@ pub struct MSG {
64
64
pub pt : POINT ,
65
65
}
66
66
67
- #[ cfg( feature = "win32" ) ]
67
+ #[ cfg( all ( feature = "win32" , windows ) ) ]
68
68
pub use windows:: Win32 :: Foundation :: { HANDLE , HWND } ;
69
- #[ cfg( feature = "win32" ) ]
69
+ #[ cfg( all ( feature = "win32" , windows ) ) ]
70
70
pub use windows:: Win32 :: UI :: WindowsAndMessaging :: { HCURSOR , HICON , MSG } ;
0 commit comments