소스 검색

* fix building on non-unix/windows targets

git-svn-id: trunk@43711 -
florian 5 년 전
부모
커밋
0dabe49601
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      rtl/inc/heaptrc.pp

+ 1 - 1
rtl/inc/heaptrc.pp

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