Skip to content

Commit 9fdd990

Browse files
committed
remove SmartOS constants not applicable to illumos or Solaris
SmartOS is a downstream distribution of illumos, and carries a number of additional patches that are not commonly available in other illumos distributions. They are also not found in Oracle Solaris. With these removed, the libc tests pass on a stock illumos system running OpenIndiana.
1 parent 8712132 commit 9fdd990

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/unix/solarish/mod.rs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,7 +1102,6 @@ pub const MCL_FUTURE: ::c_int = 0x0002;
11021102
pub const MS_SYNC: ::c_int = 0x0004;
11031103
pub const MS_ASYNC: ::c_int = 0x0001;
11041104
pub const MS_INVALIDATE: ::c_int = 0x0002;
1105-
pub const MS_INVALCURPROC: ::c_int = 0x0008;
11061105

11071106
pub const EPERM: ::c_int = 1;
11081107
pub const ENOENT: ::c_int = 2;
@@ -1357,7 +1356,6 @@ pub const AF_POLICY: ::c_int = 29;
13571356
pub const AF_INET_OFFLOAD: ::c_int = 30;
13581357
pub const AF_TRILL: ::c_int = 31;
13591358
pub const AF_PACKET: ::c_int = 32;
1360-
pub const AF_LX_NETLINK: ::c_int = 33;
13611359

13621360
pub const SOCK_DGRAM: ::c_int = 1;
13631361
pub const SOCK_STREAM: ::c_int = 2;
@@ -1782,8 +1780,6 @@ pub const TIOCGWINSZ: ::c_int = _TIOC | 104;
17821780
pub const TIOCSWINSZ: ::c_int = _TIOC | 103;
17831781
pub const TIOCGSOFTCAR: ::c_int = _TIOC | 105;
17841782
pub const TIOCSSOFTCAR: ::c_int = _TIOC | 106;
1785-
pub const TIOCSETLD: ::c_int = _TIOC | 123;
1786-
pub const TIOCGETLD: ::c_int = _TIOC | 124;
17871783
pub const TIOCGPPS: ::c_int = _TIOC | 125;
17881784
pub const TIOCSPPS: ::c_int = _TIOC | 126;
17891785
pub const TIOCGPPSEV: ::c_int = _TIOC | 127;

0 commit comments

Comments
 (0)