Skip to content

Commit

Permalink
Add SIGABRT const to newlib
Browse files Browse the repository at this point in the history
(apply <rust-lang#3658> to `main`)
(cherry picked from commit 47a8927)
  • Loading branch information
Tevz-Beskovnik authored and tgross35 committed Aug 13, 2024
1 parent eba3aa8 commit e9fee70
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/newlib/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -508,6 +508,8 @@ pub const SOCK_CLOEXEC: ::c_int = O_CLOEXEC;

pub const INET_ADDRSTRLEN: ::c_int = 16;

pub const SIGABRT: ::c_int = 1;

// https://github.com/bminor/newlib/blob/HEAD/newlib/libc/sys/linux/include/net/if.h#L121
pub const IFF_UP: ::c_int = 0x1; // interface is up
pub const IFF_BROADCAST: ::c_int = 0x2; // broadcast address valid
Expand Down

0 comments on commit e9fee70

Please sign in to comment.