Skip to content

Commit e9fee70

Browse files
Tevz-Beskovniktgross35
authored andcommitted
Add SIGABRT const to newlib
(apply <rust-lang#3658> to `main`) (cherry picked from commit 47a8927)
1 parent eba3aa8 commit e9fee70

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/newlib/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,8 @@ pub const SOCK_CLOEXEC: ::c_int = O_CLOEXEC;
508508

509509
pub const INET_ADDRSTRLEN: ::c_int = 16;
510510

511+
pub const SIGABRT: ::c_int = 1;
512+
511513
// https://github.com/bminor/newlib/blob/HEAD/newlib/libc/sys/linux/include/net/if.h#L121
512514
pub const IFF_UP: ::c_int = 0x1; // interface is up
513515
pub const IFF_BROADCAST: ::c_int = 0x2; // broadcast address valid

0 commit comments

Comments
 (0)