mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-10 02:06:12 +02:00
+ initialize heap in the system unit startup (but SysOSAlloc is not yet implemented)
git-svn-id: branches/wasm@48289 -
This commit is contained in:
parent
11ed6adf63
commit
fe7fd69d5e
@ -22,8 +22,11 @@
|
||||
|
||||
function SysOSAlloc(size: ptruint): pointer;
|
||||
begin
|
||||
DebugWriteLn('SysOSAlloc');
|
||||
SysOSAlloc:=nil;
|
||||
end;
|
||||
|
||||
procedure SysOSFree(p: pointer; size: ptruint);
|
||||
begin
|
||||
DebugWriteLn('SysOSFree');
|
||||
end;
|
||||
|
@ -171,5 +171,7 @@ begin
|
||||
{ To be set if this is a library and not a program }
|
||||
IsLibrary := FALSE;
|
||||
{$endif def FPC_HAS_FEATURE_DYNLIBS}
|
||||
{ Setup heap }
|
||||
InitHeap;
|
||||
DebugWriteLn('System unit initialization end');
|
||||
end.
|
||||
|
Loading…
Reference in New Issue
Block a user