mirror of
https://github.com/janet-lang/janet
synced 2025-10-27 13:47:42 +00:00
Merge branch 'master' into ev
This commit is contained in:
@@ -113,7 +113,7 @@ static JanetStream *make_stream(SOCKET fd, uint32_t flags) {
|
||||
static JanetStream *make_stream(int fd, uint32_t flags) {
|
||||
JanetStream *stream = janet_abstract(&StreamAT, sizeof(JanetStream));
|
||||
janet_pollable_init(stream, fd);
|
||||
#ifndef SOCK_CLOEXEC
|
||||
#if !defined(SOCK_CLOEXEC) && defined(O_CLOEXEC)
|
||||
int extra = O_CLOEXEC;
|
||||
#else
|
||||
int extra = 0;
|
||||
|
||||
Reference in New Issue
Block a user