Skip to content

Commit

Permalink
Compatibility with ESP-IDF V5
Browse files Browse the repository at this point in the history
  • Loading branch information
ivmarkov committed Sep 17, 2022
1 parent 9cdd42e commit ba7ff45
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/newlib/mod.rs
Expand Up @@ -41,7 +41,7 @@ pub type tcflag_t = ::c_uint;
pub type useconds_t = u32;

cfg_if! {
if #[cfg(target_os = "horizon")] {
if #[cfg(any(target_os = "horizon", all(target_os = "espidf", espidf_time64)))] {
pub type time_t = ::c_longlong;
} else {
pub type time_t = i32;
Expand Down

0 comments on commit ba7ff45

Please sign in to comment.