Skip to content

Commit

Permalink
Fix for winit's MSRV
Browse files Browse the repository at this point in the history
  • Loading branch information
madsmtm committed Jan 8, 2023
1 parent 6686c33 commit c2b39e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion crates/icrate/src/Foundation/additions/value.rs
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@ impl fmt::Debug for NSValue {
mod tests {
use alloc::format;
use core::{ptr, slice};
use std::ffi::c_char;
use std::os::raw::c_char;

use super::*;
use objc2::rc::{__RcTestObject, __ThreadTestData};
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/src/Foundation/fixes/NSDecimal.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
use std::ffi::c_ushort;
use std::os::raw::c_ushort;

extern_struct!(
pub struct NSDecimal {
Expand Down
2 changes: 1 addition & 1 deletion crates/icrate/src/common.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub(crate) use core::ffi::c_void;
pub(crate) use core::marker::PhantomData;
pub(crate) use core::ptr::NonNull;
#[cfg(feature = "std")]
pub(crate) use std::ffi::{
pub(crate) use std::os::raw::{
c_char, c_double, c_float, c_int, c_long, c_longlong, c_schar, c_short, c_uchar, c_uint,
c_ulong, c_ulonglong, c_ushort,
};
Expand Down

0 comments on commit c2b39e6

Please sign in to comment.