Skip to content

Commit 77d522e

Browse files
authored
Merge pull request #1809 from ahwayakchih/patch-1
Add missing sysconf constants for Haiku
2 parents 7a507b6 + c17a4c1 commit 77d522e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/unix/haiku/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -962,6 +962,10 @@ pub const _SC_TIMER_MAX: ::c_int = 57;
962962
pub const _SC_TIMERS: ::c_int = 58;
963963
pub const _SC_CPUTIME: ::c_int = 59;
964964
pub const _SC_THREAD_CPUTIME: ::c_int = 60;
965+
pub const _SC_HOST_NAME_MAX: ::c_int = 61;
966+
pub const _SC_REGEXP: ::c_int = 62;
967+
pub const _SC_SYMLOOP_MAX: ::c_int = 63;
968+
pub const _SC_SHELL: ::c_int = 64;
965969

966970
pub const PTHREAD_STACK_MIN: ::size_t = 8192;
967971

0 commit comments

Comments
 (0)