File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -36,8 +36,7 @@ struct custom_operations {
36
36
int (* compare_ext )(value v1 , value v2 );
37
37
const struct custom_fixed_length * fixed_length ;
38
38
};
39
- _Static_assert (sizeof (struct custom_operations ) == CUSTOM_OPS_STRUCT_SIZE ,
40
- "Unexpected CUSTOM_OPS_STRUCT_SIZE" );
39
+ CAML_STATIC_ASSERT (sizeof (struct custom_operations ) == CUSTOM_OPS_STRUCT_SIZE );
41
40
42
41
#define custom_finalize_default NULL
43
42
#define custom_compare_default NULL
Original file line number Diff line number Diff line change @@ -39,8 +39,7 @@ struct custom_operations {
39
39
int (* compare_ext )(value v1 , value v2 );
40
40
const struct custom_fixed_length * fixed_length ;
41
41
};
42
- _Static_assert (sizeof (struct custom_operations ) == CUSTOM_OPS_STRUCT_SIZE ,
43
- "Unexpected CUSTOM_OPS_STRUCT_SIZE" );
42
+ CAML_STATIC_ASSERT (sizeof (struct custom_operations ) == CUSTOM_OPS_STRUCT_SIZE );
44
43
45
44
#define custom_finalize_default NULL
46
45
#define custom_compare_default NULL
You can’t perform that action at this time.
0 commit comments