From 68f6926348da35c82a637ec3bc7f9ea0d761f615 Mon Sep 17 00:00:00 2001 From: ringabout <43030857+ringabout@users.noreply.github.com> Date: Thu, 17 Nov 2022 23:04:43 +0800 Subject: [PATCH] remove useless defines (#20867) --- lib/wrappers/postgres.nim | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/wrappers/postgres.nim b/lib/wrappers/postgres.nim index cb23076f6..6962291f1 100644 --- a/lib/wrappers/postgres.nim +++ b/lib/wrappers/postgres.nim @@ -216,10 +216,6 @@ proc pqclientEncoding*(conn: PPGconn): int32{.cdecl, dynlib: dllName, importc: "PQclientEncoding".} proc pqsetClientEncoding*(conn: PPGconn, encoding: cstring): int32{.cdecl, dynlib: dllName, importc: "PQsetClientEncoding".} -when defined(USE_SSL): - # Get the SSL structure associated with a connection - proc pqgetssl*(conn: PPGconn): PSSL{.cdecl, dynlib: dllName, - importc: "PQgetssl".} proc pqsetErrorVerbosity*(conn: PPGconn, verbosity: PGVerbosity): PGVerbosity{. cdecl, dynlib: dllName, importc: "PQsetErrorVerbosity".} proc pqtrace*(conn: PPGconn, debug_port: File){.cdecl, dynlib: dllName,