Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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