Skip to content
Commit 3b29783d authored by Pekka Paalanen's avatar Pekka Paalanen
Browse files

os: define SOCK_CLOEXEC on Linux



If it's not already defined, and we are on Linux, #define it. This gets
rid of a load of #ifdefs. This should also allow to use it when the
kernel supports it, but the libc does not define it.

Signed-off-by: default avatarPekka Paalanen <ppaalanen@gmail.com>
parent 1f827a47
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment