@@ -19,13 +19,18 @@ pub type c_int = i32;
19
19
pub type c_uint = u32 ;
20
20
pub type c_size_t = usize ;
21
21
pub type c_uint_fast8_t = u8 ;
22
- #[ cfg( any( target_arch = "wasm32" , target_arch = "aarch64" ) ) ]
22
+ #[ cfg( all(
23
+ any( target_arch = "wasm32" , target_arch = "aarch64" ) ,
24
+ not( target_os = "windows" )
25
+ ) ) ]
23
26
pub type c_uint_fast16_t = u16 ;
24
- #[ cfg( not( any( target_arch = "wasm32" , target_arch = "aarch64" ) ) ) ]
27
+ #[ cfg( target_os = "windows" ) ]
28
+ pub type c_uint_fast16_t = u32 ;
29
+ #[ cfg( not( any( target_arch = "wasm32" , target_arch = "aarch64" , target_os = "windows" ) ) ) ]
25
30
pub type c_uint_fast16_t = usize ;
26
- #[ cfg( any( target_arch = "wasm32" , target_arch = "aarch64" ) ) ]
31
+ #[ cfg( any( target_arch = "wasm32" , target_arch = "aarch64" , target_os = "windows" ) ) ]
27
32
pub type c_uint_fast32_t = u32 ;
28
- #[ cfg( not( any( target_arch = "wasm32" , target_arch = "aarch64" ) ) ) ]
33
+ #[ cfg( not( any( target_arch = "wasm32" , target_arch = "aarch64" , target_os = "windows" ) ) ) ]
29
34
pub type c_uint_fast32_t = usize ;
30
35
#[ cfg( target_arch = "wasm32" ) ]
31
36
pub type c_uint_fast64_t = u64 ;
0 commit comments