Skip to content

Commit

Permalink
Comparison in the right direction
Browse files Browse the repository at this point in the history
  • Loading branch information
thierry-martinez committed Feb 27, 2020
1 parent 0965009 commit 0a6086d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ppx/findlib_for_ppx.ml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(* See https://github.com/ocaml/dune/issues/3214 *)

let init_predicates () =
if Sys.ocaml_version < "4.08.0" && Findlib.recorded_predicates () = [] then
if Sys.ocaml_version >= "4.08.0" && Findlib.recorded_predicates () = [] then
let preds = ["ppx_driver"; "mt"; "mt_posix"] in
let preds = (if Dynlink.is_native then "native" else "byte") :: preds in
Findlib.record_package_predicates preds
Expand Down

0 comments on commit 0a6086d

Please sign in to comment.