瀏覽代碼

* 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;