Skip to content

Commit b2e742b

Browse files
Update src/unix/lwt_unix.h
1 parent 0ebb88e commit b2e742b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/unix/lwt_unix.h

+3
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,9 @@
1414
#include <caml/socketaddr.h>
1515
#include <string.h>
1616

17+
// The following macro is for backwards compatibility.
18+
// It is given an `lwt_` prefix to avoid name collisions for code which
19+
// include both this file and alloc.h.
1720
#if OCAML_VERSION < 50000
1821
#define lwt_convert_flag_list(flags, table) \
1922
caml_convert_flag_list((flags), (int *)(table))

0 commit comments

Comments
 (0)