summaryrefslogtreecommitdiff
path: root/runtime/startup_byt.c
diff options
context:
space:
mode:
authorDavid Allsopp <david.allsopp@metastack.com>2022-01-19 19:46:19 +0000
committerDavid Allsopp <david.allsopp@metastack.com>2022-06-13 11:31:50 +0100
commit5f4859b8c8c08c9ab8a888a90f81435a1facc462 (patch)
tree05ace867df3fd4985983412322184c73729186e2 /runtime/startup_byt.c
parenta3023cd9b63607c637f03924d0c0a9ceed099eec (diff)
downloadocaml-5f4859b8c8c08c9ab8a888a90f81435a1facc462.tar.gz
Rename the two Windows unicode C functions
Diffstat (limited to 'runtime/startup_byt.c')
-rw-r--r--runtime/startup_byt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/startup_byt.c b/runtime/startup_byt.c
index a7061ebae2..235605fb9c 100644
--- a/runtime/startup_byt.c
+++ b/runtime/startup_byt.c
@@ -235,9 +235,9 @@ static char_os * read_section_to_os(int fd, struct exec_trailer *trail,
if (read(fd, data, len) != len)
caml_fatal_error("error reading section %s", name);
data[len] = 0;
- wlen = win_multi_byte_to_wide_char(data, len, NULL, 0);
+ wlen = caml_win32_multi_byte_to_wide_char(data, len, NULL, 0);
wdata = caml_stat_alloc((wlen + 1)*sizeof(wchar_t));
- win_multi_byte_to_wide_char(data, len, wdata, wlen);
+ caml_win32_multi_byte_to_wide_char(data, len, wdata, wlen);
wdata[wlen] = 0;
caml_stat_free(data);
return wdata;