Skip to content

Commit

Permalink
Fix cfg's target_os
Browse files Browse the repository at this point in the history
  • Loading branch information
pheki committed Jun 30, 2023
1 parent 8670663 commit 4dcb762
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/unix/newlib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 4dcb762

Please sign in to comment.