summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorringabout <43030857+ringabout@users.noreply.github.com>2022-11-17 23:04:43 +0800
committerGitHub <noreply@github.com>2022-11-17 23:04:43 +0800
commit68f6926348da35c82a637ec3bc7f9ea0d761f615 (patch)
tree1ce9a1ceb00a8c47b47cdb8f15ab4cd6a7868ca5
parent1707bc4a992bc966a7439facb9ee819023c22f77 (diff)
downloadNim-68f6926348da35c82a637ec3bc7f9ea0d761f615.tar.gz
remove useless defines (#20867)
-rw-r--r--lib/wrappers/postgres.nim4
1 files changed, 0 insertions, 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,