diff options
Diffstat (limited to 'vendor/libc/src/unix/newlib')
-rw-r--r-- | vendor/libc/src/unix/newlib/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/libc/src/unix/newlib/mod.rs b/vendor/libc/src/unix/newlib/mod.rs index 3875f1cb4..1477a6040 100644 --- a/vendor/libc/src/unix/newlib/mod.rs +++ b/vendor/libc/src/unix/newlib/mod.rs @@ -271,7 +271,7 @@ pub const PTHREAD_MUTEX_RECURSIVE: ::c_int = 1; pub const PTHREAD_MUTEX_ERRORCHECK: ::c_int = 2; cfg_if! { - if #[cfg(target_os = "horizon")] { + if #[cfg(any(target_os = "horizon", target_os = "espidf"))] { pub const FD_SETSIZE: usize = 64; } else { pub const FD_SETSIZE: usize = 1024; |