Skip to content

Commit 4dcb762

Browse files
committed
Fix cfg's target_os
1 parent 8670663 commit 4dcb762

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unix/newlib/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -547,7 +547,7 @@ pub const IFF_ALTPHYS: ::c_int = IFF_LINK2; // use alternate physical connection
547547
pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
548548

549549
cfg_if! {
550-
if #[cfg(target_os = "horizon")] {
550+
if #[cfg(target_os = "vita")] {
551551
pub const TCP_NODELAY: ::c_int = 1;
552552
pub const TCP_MAXSEG: ::c_int = 2;
553553
} else {

0 commit comments

Comments
 (0)