Skip to content

Commit ba7ff45

Browse files
committed
Compatibility with ESP-IDF V5
1 parent 9cdd42e commit ba7ff45

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/newlib/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ pub type tcflag_t = ::c_uint;
4141
pub type useconds_t = u32;
4242

4343
cfg_if! {
44-
if #[cfg(target_os = "horizon")] {
44+
if #[cfg(any(target_os = "horizon", all(target_os = "espidf", espidf_time64)))] {
4545
pub type time_t = ::c_longlong;
4646
} else {
4747
pub type time_t = i32;

0 commit comments

Comments
 (0)