Skip to content

Commit

Permalink
Only Linux gets SOL_TLS I guess (this is wrong, BSDs have it too)
Browse files Browse the repository at this point in the history
  • Loading branch information
fasterthanlime committed Sep 13, 2023
1 parent dc2ca42 commit 964cebf
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/sys/socket/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -882,6 +882,7 @@ pub struct Timestamps {
#[cfg(all(target_os = "linux"))]
const TLS_GET_RECORD_TYPE: c_int = 2;

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

impl ControlMessageOwned {
Expand Down

0 comments on commit 964cebf

Please sign in to comment.