File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ fn main() {
36
36
cfg. header ( "errno.h" )
37
37
. header ( "fcntl.h" )
38
38
. header ( "limits.h" )
39
+ . header ( "stdbool.h" )
39
40
. header ( "stddef.h" )
40
41
. header ( "stdint.h" )
41
42
. header ( "stdio.h" )
@@ -241,7 +242,8 @@ fn main() {
241
242
"LARGE_INTEGER" |
242
243
"mach_timebase_info_data_t" |
243
244
"float" |
244
- "double" => true ,
245
+ "double" |
246
+ "c_bool" => true ,
245
247
n if n. starts_with ( "pthread" ) => true ,
246
248
247
249
// windows-isms
Original file line number Diff line number Diff line change @@ -109,6 +109,7 @@ pub type uint16_t = u16;
109
109
pub type uint32_t = u32 ;
110
110
pub type uint64_t = u64 ;
111
111
112
+ pub type c_bool = bool ;
112
113
pub type c_schar = i8 ;
113
114
pub type c_uchar = u8 ;
114
115
pub type c_short = i16 ;
You can’t perform that action at this time.
0 commit comments