fixes postgres with nimPreviewSlimSystem (#20455)

This commit is contained in:
ringabout
2022-09-29 23:54:45 +08:00
committed by GitHub
parent 1e635bb539
commit 716d68cb24

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