Skip to content

Commit

Permalink
fixes postgres with nimPreviewSlimSystem (#20455)
Browse files Browse the repository at this point in the history
  • Loading branch information
ringabout committed Sep 29, 2022
1 parent 1e635bb commit 716d68c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/wrappers/postgres.nim
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ elif defined(macosx):
else:
const
dllName = "libpq.so(.5|)"

when defined(nimPreviewSlimSystem):
import std/syncio

type
POid* = ptr Oid
Oid* = int32
Expand Down

0 comments on commit 716d68c

Please sign in to comment.