Skip to content

Commit ac7b1d5

Browse files
Only Linux gets SOL_TLS I guess (this is wrong, BSDs have it too)
1 parent 70fca4c commit ac7b1d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/sys/socket/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -894,6 +894,7 @@ pub struct Timestamps {
894894
#[cfg(all(target_os = "linux"))]
895895
const TLS_GET_RECORD_TYPE: c_int = 2;
896896

897+
#[cfg(all(target_os = "linux"))]
897898
const SOL_TLS: c_int = 282;
898899

899900
impl ControlMessageOwned {

0 commit comments

Comments
 (0)