summaryrefslogtreecommitdiff
path: root/otherlibs/win32unix/unixsupport.c
diff options
context:
space:
mode:
authorJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2011-11-24 08:43:28 +0000
committerJacques Garrigue <garrigue at math.nagoya-u.ac.jp>2011-11-24 08:43:28 +0000
commitbf63f916712f981f49ce62aa6ca0a6b1564af603 (patch)
tree451eba2212360b4fa5ab07845f95792efa80c8c3 /otherlibs/win32unix/unixsupport.c
parentb67f7d43fbbf128fa71996b99df159a6aba7d88b (diff)
parent99451ca83e21bf89b23f230cebf45c77917e1106 (diff)
downloadocaml-gadts-devel.tar.gz
merge trunkgadts-devel
git-svn-id: http://caml.inria.fr/svn/ocaml/branches/gadts-devel@11283 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'otherlibs/win32unix/unixsupport.c')
-rw-r--r--otherlibs/win32unix/unixsupport.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/win32unix/unixsupport.c b/otherlibs/win32unix/unixsupport.c
index 2a45684a69..f6431955bf 100644
--- a/otherlibs/win32unix/unixsupport.c
+++ b/otherlibs/win32unix/unixsupport.c
@@ -54,7 +54,7 @@ value win_alloc_handle(HANDLE h)
Handle_val(res) = h;
Descr_kind_val(res) = KIND_HANDLE;
CRT_fd_val(res) = NO_CRT_FD;
- Flags_fd_val(res) = 0;
+ Flags_fd_val(res) = FLAGS_FD_IS_BLOCKING;
return res;
}
@@ -64,7 +64,7 @@ value win_alloc_socket(SOCKET s)
Socket_val(res) = s;
Descr_kind_val(res) = KIND_SOCKET;
CRT_fd_val(res) = NO_CRT_FD;
- Flags_fd_val(res) = 0;
+ Flags_fd_val(res) = FLAGS_FD_IS_BLOCKING;
return res;
}