Skip to content

Commit e6dc360

Browse files
committed
linux hexagon: add missing defines
This commit defines ETIMEDOUT, SIGSTKSZ, MINSIGSTKSZ
1 parent d811e27 commit e6dc360

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/linux_like/linux/musl/b32/hexagon.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,7 @@ pub const ESOCKTNOSUPPORT: ::c_int = 94;
222222
pub const ESTALE: ::c_int = 116;
223223
pub const ESTRPIPE: ::c_int = 86;
224224
pub const ETOOMANYREFS: ::c_int = 109;
225+
pub const ETIMEDOUT: ::c_int = 110;
225226
pub const EUCLEAN: ::c_int = 117;
226227
pub const EUNATCH: ::c_int = 49;
227228
pub const EUSERS: ::c_int = 87;
@@ -299,6 +300,8 @@ pub const SIGPOLL: ::c_int = 29;
299300
pub const SIGPROF: ::c_int = 27;
300301
pub const SIGPWR: ::c_int = 30;
301302
pub const SIGSTKFLT: ::c_int = 16;
303+
pub const SIGSTKSZ: ::size_t = 8192;
304+
pub const MINSIGSTKSZ: ::size_t = 2048;
302305
pub const SIGSTOP: ::c_int = 19;
303306
pub const SIGSYS: ::c_int = 31;
304307
pub const SIGTSTP: ::c_int = 20;

0 commit comments

Comments
 (0)