Skip to content

Commit e4a81b9

Browse files
author
Dmitry Grebeniuk
committed
fixing postgresql version discovery
1 parent f3cf688 commit e4a81b9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

myocamlbuild.ml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -558,8 +558,8 @@ let () =
558558
let minor =
559559
String.sub line minor_start (minor_dot - minor_start)
560560
in
561-
A ("-DP_OCAML_MAJOR_VERSION=" ^ major),
562-
A ("-DP_OCAML_MINOR_VERSION=" ^ minor)
561+
A ("-DPG_OCAML_MAJOR_VERSION=" ^ major),
562+
A ("-DPG_OCAML_MINOR_VERSION=" ^ minor)
563563
in
564564
close_in ic;
565565
let pgsql_lib = A "-lpq" in

0 commit comments

Comments
 (0)