Browse Source

* Removed pqlib and default value. It should always load the lib loaded by postgres3dyn

git-svn-id: trunk@22274 -
michael 13 years ago
parent
commit
d02619b8af
1 changed files with 2 additions and 11 deletions
  1. 2 11
      packages/postgres/src/dllistdyn.pp

+ 2 - 11
packages/postgres/src/dllistdyn.pp

@@ -14,15 +14,6 @@ uses
 
 {$PACKRECORDS C}
 
-{$IFDEF Unix}
-  const
-    pqlib = 'libpq.'+sharedsuffix;
-{$ENDIF}
-{$IFDEF Windows}
-  const
-    pqlib = 'libpq.dll';
-{$ENDIF}
-
 {$i dllisttypes.inc}
 
 var
@@ -43,7 +34,7 @@ var
 { Macro translated }
 Function  DLE_VAL(elem : PDlelem) : pointer;
 
-Procedure InitialiseDllist(libpath:string=pqlib);
+Procedure InitialiseDllist(libpath:string);
 Procedure ReleaseDllist;
 
 var DllistLibraryHandle : TLibHandle;
@@ -52,7 +43,7 @@ implementation
 
 var RefCount : integer;
 
-Procedure InitialiseDllist(libpath:string=pqlib);
+Procedure InitialiseDllist(libpath:string);
 
 begin
   inc(RefCount);