mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-26 04:09:18 +02:00
Fix compilation failure for systems that do not have dynlibs
git-svn-id: trunk@37056 -
This commit is contained in:
parent
4d5a94644f
commit
e325284160
@ -718,7 +718,11 @@ begin
|
|||||||
end;
|
end;
|
||||||
{$else}
|
{$else}
|
||||||
begin
|
begin
|
||||||
|
{$ifdef FPC_HAS_FEATURE_DYNLIBS}
|
||||||
Result:=System.SafeLoadLibrary(FileName);
|
Result:=System.SafeLoadLibrary(FileName);
|
||||||
|
{$else}
|
||||||
|
Result:=HModule(nil);
|
||||||
|
{$endif not FPC_HAS_FEATURE_DYNLIBS}
|
||||||
end;
|
end;
|
||||||
{$endif}
|
{$endif}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user