Skip to content

Commit

Permalink
Make Pgx_lwt and Pgx_unix compile
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanlong committed Apr 29, 2021
1 parent fda4530 commit b93623e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions pgx_lwt/src/pgx_lwt.ml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ module Thread = struct

let close_in = Io.close_in
let open_connection = Io.open_connection
let upgrade_ssl = `Not_supported
let getlogin = Io.getlogin
let debug s = Logs_lwt.debug (fun m -> m "%s" s)
let protect f ~finally = Lwt.finalize f finally
Expand Down
2 changes: 2 additions & 0 deletions pgx_unix/src/pgx_unix.ml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ module Simple_thread = struct
Unix.open_connection std_socket
;;

let upgrade_ssl = `Not_supported

let output_char = output_char
let output_binary_int = output_binary_int
let output_string = output_string
Expand Down

0 comments on commit b93623e

Please sign in to comment.