mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 17:49:13 +02:00
* cardinal2pointer changes
This commit is contained in:
parent
e861eaa4c0
commit
315d8bf6a0
@ -1216,7 +1216,7 @@ begin
|
|||||||
case os_mode of
|
case os_mode of
|
||||||
osDOS:
|
osDOS:
|
||||||
begin
|
begin
|
||||||
stackbottom:=cardinal(heap_brk); {In DOS mode, heap_brk is
|
stackbottom:=pointer(heap_brk); {In DOS mode, heap_brk is
|
||||||
also the stack bottom.}
|
also the stack bottom.}
|
||||||
ApplicationType := 1; (* Running under DOS. *)
|
ApplicationType := 1; (* Running under DOS. *)
|
||||||
IsConsole := true;
|
IsConsole := true;
|
||||||
@ -1225,7 +1225,7 @@ begin
|
|||||||
osOS2:
|
osOS2:
|
||||||
begin
|
begin
|
||||||
DosGetInfoBlocks (@TIB, @PIB);
|
DosGetInfoBlocks (@TIB, @PIB);
|
||||||
StackBottom := cardinal (TIB^.Stack);
|
StackBottom := pointer (TIB^.Stack);
|
||||||
Environment := pointer (PIB^.Env);
|
Environment := pointer (PIB^.Env);
|
||||||
ApplicationType := PIB^.ProcType;
|
ApplicationType := PIB^.ProcType;
|
||||||
IsConsole := ApplicationType <> 3;
|
IsConsole := ApplicationType <> 3;
|
||||||
@ -1266,7 +1266,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.19 2003-11-01 19:25:50 hajny
|
Revision 1.20 2003-11-06 23:21:51 hajny
|
||||||
|
* cardinal2pointer changes
|
||||||
|
|
||||||
|
Revision 1.19 2003/11/01 19:25:50 hajny
|
||||||
* fix of previous mistyping
|
* fix of previous mistyping
|
||||||
|
|
||||||
Revision 1.18 2003/10/25 22:45:37 hajny
|
Revision 1.18 2003/10/25 22:45:37 hajny
|
||||||
|
Loading…
Reference in New Issue
Block a user