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, 6 insertions, 3 deletions
diff --git a/otherlibs/win32unix/unix.ml b/otherlibs/win32unix/unix.ml
index f07a67302..5fa71cec9 100644
--- a/otherlibs/win32unix/unix.ml
+++ b/otherlibs/win32unix/unix.ml
@@ -170,10 +170,13 @@ let write fd buf ofs len =
then invalid_arg "Unix.write"
else unsafe_write fd buf ofs len
-external in_channel_of_descr : file_descr -> in_channel = "open_descriptor"
-external out_channel_of_descr : file_descr -> out_channel = "open_descriptor"
+external in_channel_of_descr : file_descr -> in_channel
+ = "caml_open_descriptor"
+external out_channel_of_descr : file_descr -> out_channel
+ = "caml_open_descriptor"
external descr_of_in_channel : in_channel -> file_descr = "channel_descriptor"
-external descr_of_out_channel : out_channel -> file_descr = "channel_descriptor"
+external descr_of_out_channel : out_channel -> file_descr
+ = "channel_descriptor"
type seek_command =
SEEK_SET