Skip to content

Commit

Permalink
Fix OCaml 4.12 support (ocsigen#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
kit-ty-kate authored Dec 9, 2020
1 parent 63fd8ae commit c0c921a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions CHANGES
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
* Avoid double-reversing when traversing lists. This may change the order in
which some promises are collected, which may change which of several
rejection is arbitrarily selected during concurrent traversal.
* Add support for OCaml 4.12 (#804, #826, Kate Deplaix)

===== 5.3.0 (2020-04-22) =====

Expand Down
6 changes: 3 additions & 3 deletions src/unix/lwt_unix.cppo.ml
Original file line number Diff line number Diff line change
Expand Up @@ -1821,15 +1821,15 @@ type socket_bool_option =
| SO_DEBUG
| SO_BROADCAST
| SO_REUSEADDR
#if OCAML_VERSION >= (4, 12, 0)
| SO_REUSEPORT
#endif
| SO_KEEPALIVE
| SO_DONTROUTE
| SO_OOBINLINE
| SO_ACCEPTCONN
| TCP_NODELAY
| IPV6_ONLY
#if OCAML_VERSION >= (4, 12, 0)
| SO_REUSEPORT
#endif

type socket_int_option =
Unix.socket_int_option =
Expand Down
6 changes: 3 additions & 3 deletions src/unix/lwt_unix.cppo.mli
Original file line number Diff line number Diff line change
Expand Up @@ -1022,15 +1022,15 @@ type socket_bool_option =
| SO_DEBUG
| SO_BROADCAST
| SO_REUSEADDR
#if OCAML_VERSION >= (4, 12, 0)
| SO_REUSEPORT
#endif
| SO_KEEPALIVE
| SO_DONTROUTE
| SO_OOBINLINE
| SO_ACCEPTCONN
| TCP_NODELAY
| IPV6_ONLY
#if OCAML_VERSION >= (4, 12, 0)
| SO_REUSEPORT
#endif

type socket_int_option =
Unix.socket_int_option =
Expand Down

0 comments on commit c0c921a

Please sign in to comment.