Fix postgresql.libpq for recent factor changes
parent
6d41230f19
commit
cd64a7bbee
|
@ -8,14 +8,13 @@
|
|||
USING: alien alien.syntax combinators system ;
|
||||
IN: postgresql.libpq
|
||||
|
||||
: load-postgresql-library ( -- )
|
||||
"postgresql" {
|
||||
{ [ win32? ] [ "libpq.dll" ] }
|
||||
{ [ macosx? ] [ "/opt/local/lib/postgresql81/libpq.dylib" ] }
|
||||
{ [ unix? ] [ "libpq.so" ] }
|
||||
} cond "cdecl" add-library ; parsing
|
||||
|
||||
load-postgresql-library
|
||||
<<
|
||||
"postgresql" {
|
||||
{ [ win32? ] [ "libpq.dll" ] }
|
||||
{ [ macosx? ] [ "/opt/local/lib/postgresql81/libpq.dylib" ] }
|
||||
{ [ unix? ] [ "libpq.so" ] }
|
||||
} cond "cdecl" add-library
|
||||
>>
|
||||
|
||||
! ConnSatusType
|
||||
: CONNECTION_OK HEX: 0 ; inline
|
||||
|
|
Loading…
Reference in New Issue