summaryrefslogtreecommitdiffstats
path: root/otherlibs/win32unix/unix.ml
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/win32unix/unix.ml')
-rw-r--r--otherlibs/win32unix/unix.ml9
1 files changed, 5 insertions, 4 deletions
diff --git a/otherlibs/win32unix/unix.ml b/otherlibs/win32unix/unix.ml
index f7a7e9ee7..bf6ef0248 100644
--- a/otherlibs/win32unix/unix.ml
+++ b/otherlibs/win32unix/unix.ml
@@ -192,10 +192,11 @@ let write fd buf ofs len =
(* Interfacing with the standard input/output library *)
-external open_read_descriptor : int -> in_channel = "caml_open_descriptor_in"
-external open_write_descriptor : int -> out_channel = "caml_open_descriptor_out"
-external fd_of_in_channel : in_channel -> int = "channel_descriptor"
-external fd_of_out_channel : out_channel -> int = "channel_descriptor"
+external open_read_descriptor : int -> in_channel = "caml_ml_open_descriptor_in"
+external open_write_descriptor : int -> out_channel
+ = "caml_ml_open_descriptor_out"
+external fd_of_in_channel : in_channel -> int = "caml_channel_descriptor"
+external fd_of_out_channel : out_channel -> int = "caml_channel_descriptor"
external open_handle : file_descr -> int = "win_fd_handle"