mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 11:49:23 +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;
|
||||
{$else}
|
||||
begin
|
||||
{$ifdef FPC_HAS_FEATURE_DYNLIBS}
|
||||
Result:=System.SafeLoadLibrary(FileName);
|
||||
{$else}
|
||||
Result:=HModule(nil);
|
||||
{$endif not FPC_HAS_FEATURE_DYNLIBS}
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user