Fix compilation failure for systems that do not have dynlibs

git-svn-id: trunk@37056 -
This commit is contained in:
pierre 2017-08-25 07:28:35 +00:00
parent 4d5a94644f
commit e325284160

View File

@ -718,7 +718,11 @@ begin
end;
{$else}
begin
{$ifdef FPC_HAS_FEATURE_DYNLIBS}
Result:=System.SafeLoadLibrary(FileName);
{$else}
Result:=HModule(nil);
{$endif not FPC_HAS_FEATURE_DYNLIBS}
end;
{$endif}