* fix building on non-unix/windows targets

git-svn-id: trunk@43711 -
This commit is contained in:
florian 2019-12-22 23:34:22 +00:00
parent 99680eb88c
commit 0dabe49601

View File

@ -1286,7 +1286,7 @@ begin
if sz>0 then
setstring(GetModuleName,PAnsiChar(@buf),sz)
{$else}
Result:=ParamStr(0);
GetModuleName:=ParamStr(0);
{$endif}
end;