Skip to content

Commit

Permalink
feat: Update esp-idf flag
Browse files Browse the repository at this point in the history
  • Loading branch information
SergioGasquez committed Oct 21, 2024
1 parent 8d0b3a0 commit 7bd7276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use std::str;
// make sure to add it to this list as well.
const ALLOWED_CFGS: &'static [&'static str] = &[
"emscripten_new_stat_abi",
"espidf_time64",
"espidf_time32",
"freebsd10",
"freebsd11",
"freebsd12",
Expand Down
2 changes: 1 addition & 1 deletion src/unix/newlib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ cfg_if! {
pub type useconds_t = u32;

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

0 comments on commit 7bd7276

Please sign in to comment.