Explorar el Código

* fix building on non-unix/windows targets

git-svn-id: trunk@43711 -
florian hace 5 años
padre
commit
0dabe49601
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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;