fixes postgres with nimPreviewSlimSystem (#20455)

This commit is contained in:
ringabout 2022-09-29 23:54:45 +08:00 • committed by GitHub
commit 716d68cb24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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