From 4dcb762a97b48d7df81e19de716ef32403645610 Mon Sep 17 00:00:00 2001 From: Aphek Date: Thu, 29 Jun 2023 23:37:31 -0300 Subject: [PATCH] Fix cfg's target_os --- src/unix/newlib/mod.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/unix/newlib/mod.rs b/src/unix/newlib/mod.rs index 9769a0ae2e2b2..5dad518053222 100644 --- a/src/unix/newlib/mod.rs +++ b/src/unix/newlib/mod.rs @@ -547,7 +547,7 @@ pub const IFF_ALTPHYS: ::c_int = IFF_LINK2; // use alternate physical connection pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast cfg_if! { - if #[cfg(target_os = "horizon")] { + if #[cfg(target_os = "vita")] { pub const TCP_NODELAY: ::c_int = 1; pub const TCP_MAXSEG: ::c_int = 2; } else {