Skip to content

Commit

Permalink
Merge pull request #3993 from SergioGasquez/feat/esp-idf-flags
Browse files Browse the repository at this point in the history
Update esp-idf time flag
  • Loading branch information
tgross35 authored Oct 24, 2024
2 parents 03d1c4b + 7bd7276 commit 6626f72
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 6626f72

Please sign in to comment.