Skip to content
Permalink
Browse files

some library fix for FPC (x86-64) and Kylix

  • Loading branch information...
Arnaud Bouchez
Arnaud Bouchez committed May 9, 2019
1 parent 316d9f0 commit efa5a8ee9ba264d8b9bed02214de4f5d91ce917f
Showing with 8 additions and 1 deletion.
  1. +7 −0 SynDBOracle.pas
  2. +1 −1 SynopseCommit.inc
@@ -1776,6 +1776,13 @@ function TSQLDBOracleLib.CodePageToCharSetID(env: pointer;
result := OCI_WE8MSWIN1252;
end;

{$ifdef KYLIX3}
function SafeLoadLibrary(const aFileName: TFileName): HMODULE;
begin
result := LoadLibrary(PAnsiChar(AnsiString(aFileName)));
end;
{$endif KYLIX3}

constructor TSQLDBOracleLib.Create;
const LIBNAME = {$ifdef MSWINDOWS}'oci.dll'{$else}'libclntsh.so'{$endif};
var P: PPointer;
@@ -1 +1 @@
'1.18.5214'
'1.18.5215'

0 comments on commit efa5a8e

Please sign in to comment.
You can’t perform that action at this time.