File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -135,7 +135,7 @@ let () =
135135 | [_,C.C_define.Value. String s] -> s
136136 | _ -> failwith (" unable to find string definition for " ^ l) in
137137 print_string header;
138- let has_float16 = Int. equal (import_int " FLOAT16_AVAILABLE" ) 1 in
138+ let has_float16 = (import_int " FLOAT16_AVAILABLE" ) = 1 in
139139 let c_primitives = c_primitives has_float16 in
140140 generate " sizeof" " int" (fun { size } ->
141141 match size with
Original file line number Diff line number Diff line change 66 */
77
88
9- #ifndef CTYPES_FLOAT16_COMPATIBILITY_H
10- #define CTYPES_FLOAT16_COMPATIBILITY_H
9+ #ifndef CTYPES_FLOAT16_AVAILABILITY_H
10+ #define CTYPES_FLOAT16_AVAILABILITY_H
1111
1212#define __STDC_WANT_IEC_60559_TYPES_EXT__
1313#include <float.h>
3333/* float16_available : unit -> bool */
3434extern value ctypes_float16_available (value unit );
3535
36- #endif /* CTYPES_FLOAT16_COMPATIBILITY_H */
36+ #endif /* CTYPES_FLOAT16_AVAILABILITY_H */
You can’t perform that action at this time.
0 commit comments