mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 03:48:07 +02:00
* fix building on non-unix/windows targets
git-svn-id: trunk@43711 -
This commit is contained in:
parent
99680eb88c
commit
0dabe49601
@ -1286,7 +1286,7 @@ begin
|
||||
if sz>0 then
|
||||
setstring(GetModuleName,PAnsiChar(@buf),sz)
|
||||
{$else}
|
||||
Result:=ParamStr(0);
|
||||
GetModuleName:=ParamStr(0);
|
||||
{$endif}
|
||||
end;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user