From b2e742bb09df9bdead90ddaae450886b74e8b11f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rapha=C3=ABl=20Proust?= Date: Thu, 10 Oct 2024 15:32:10 +0200 Subject: [PATCH] Update src/unix/lwt_unix.h --- src/unix/lwt_unix.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/unix/lwt_unix.h b/src/unix/lwt_unix.h index 125ca7a12..ab4ad64bf 100644 --- a/src/unix/lwt_unix.h +++ b/src/unix/lwt_unix.h @@ -14,6 +14,9 @@ #include #include +// 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))