File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -4677,11 +4677,16 @@ cfg_if! {
46774677 const __DARWIN_ALIGNBYTES32: usize = :: mem:: size_of:: <u32 >( ) - 1 ;
46784678 p + __DARWIN_ALIGNBYTES32 & !__DARWIN_ALIGNBYTES32
46794679 }
4680- } else if # [ cfg ( libc_const_size_of ) ] {
4680+ } else {
46814681 fn __DARWIN_ALIGN32( p: usize ) -> usize {
4682- const __DARWIN_ALIGNBYTES32: usize = :: mem:: size_of:: <u32 >( ) - 1 ;
4682+ let __DARWIN_ALIGNBYTES32: usize = :: mem:: size_of:: <u32 >( ) - 1 ;
46834683 p + __DARWIN_ALIGNBYTES32 & !__DARWIN_ALIGNBYTES32
46844684 }
4685+ }
4686+ }
4687+
4688+ cfg_if ! {
4689+ if #[ cfg( libc_const_size_of) ] {
46854690 pub const THREAD_EXTENDED_POLICY_COUNT : mach_msg_type_number_t =
46864691 ( :: mem:: size_of:: <thread_extended_policy_data_t>( ) / :: mem:: size_of:: <integer_t>( ) )
46874692 as mach_msg_type_number_t;
You can’t perform that action at this time.
0 commit comments