diff options
-rw-r--r-- | otherlibs/win32unix/unixsupport.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c index a8558f816..c8f3dd23a 100644 --- a/otherlibs/win32unix/unixsupport.c +++ b/otherlibs/win32unix/unixsupport.c @@ -61,6 +61,7 @@ value win_alloc_socket(SOCKET s) value res = alloc_custom(&win_handle_ops, sizeof(struct filedescr), 0, 1); Socket_val(res) = s; Descr_kind_val(res) = KIND_SOCKET; + CRT_fd_val(res) = NO_CRT_FD; return res; } |