Skip to content

Commit

Permalink
Update src/unix/lwt_unix.h
Browse files Browse the repository at this point in the history
  • Loading branch information
raphael-proust committed Oct 10, 2024
1 parent 0ebb88e commit b2e742b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/unix/lwt_unix.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,9 @@
#include <caml/socketaddr.h>
#include <string.h>

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

0 comments on commit b2e742b

Please sign in to comment.