We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6246f1b commit b8a722fCopy full SHA for b8a722f
src/unix/lwt_process_stubs.c
@@ -15,6 +15,15 @@
15
#if OCAML_VERSION < 50000
16
#define caml_win32_multi_byte_to_wide_char win_multi_byte_to_wide_char
17
#endif
18
+#if OCAML_VERSION = 52000
19
+/* see https://github.com/ocsigen/lwt/pull/967#issuecomment-2273495094
20
+ * TL;DR: some OCaml upstream issue means this extern is not included on the
21
+ * windows, it's added explicitly here instead. */
22
+CAMLextern int caml_win32_multi_byte_to_wide_char(const char* s,
23
+ int slen,
24
+ wchar_t *out,
25
+ int outlen);
26
+#endif
27
28
#include <caml/alloc.h>
29
#include <caml/fail.h>
0 commit comments