mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 21:49:06 +02:00
+ Add feature define around inittextio
git-svn-id: trunk@6522 -
This commit is contained in:
parent
a662c5fedb
commit
5e13ba03e6
1
.gitattributes
vendored
1
.gitattributes
vendored
@ -4828,7 +4828,6 @@ rtl/nds/sysfile.inc -text
|
||||
rtl/nds/sysheap.inc -text
|
||||
rtl/nds/sysos.inc -text
|
||||
rtl/nds/sysosh.inc -text
|
||||
rtl/nds/system.pp -text
|
||||
rtl/nds/systhrd.inc -text
|
||||
rtl/nds/sysutils.pp -text
|
||||
rtl/nds/tthread.inc -text
|
||||
|
@ -19,6 +19,7 @@ interface
|
||||
|
||||
{$define __ARM__} (* For future usage! *)
|
||||
{$define FPC_IS_SYSTEM}
|
||||
{$define USE_NOTHREADMANAGER}
|
||||
|
||||
{$i gbabiosh.inc}
|
||||
|
||||
@ -81,11 +82,11 @@ implementation
|
||||
|
||||
{$i gbabios.inc}
|
||||
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_PROCESSES}
|
||||
function GetProcessID: SizeUInt;
|
||||
begin
|
||||
end;
|
||||
|
||||
{$endif}
|
||||
|
||||
|
||||
{*****************************************************************************
|
||||
@ -118,12 +119,14 @@ procedure randomize;
|
||||
begin
|
||||
end;
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_TEXTIO}
|
||||
procedure SysInitStdIO;
|
||||
begin
|
||||
OpenStdIO(Input,fmInput,StdInputHandle);
|
||||
OpenStdIO(Output,fmOutput,StdOutputHandle);
|
||||
OpenStdIO(StdOut,fmOutput,StdOutputHandle);
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
|
||||
function CheckInitialStkLen(stklen : SizeUInt) : SizeUInt;
|
||||
@ -170,5 +173,4 @@ begin
|
||||
|
||||
InitSystemThreads;
|
||||
initvariantmanager;
|
||||
initwidestringmanager;
|
||||
end.
|
||||
|
@ -80,11 +80,11 @@ implementation
|
||||
|
||||
{$i ndsbios.inc}
|
||||
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_PROCESSES}
|
||||
function GetProcessID: SizeUInt;
|
||||
begin
|
||||
end;
|
||||
|
||||
{$endif}
|
||||
|
||||
|
||||
{*****************************************************************************
|
||||
@ -117,12 +117,14 @@ procedure randomize;
|
||||
begin
|
||||
end;
|
||||
|
||||
{$ifdef FPC_HAS_FEATURE_TEXTIO}
|
||||
procedure SysInitStdIO;
|
||||
begin
|
||||
OpenStdIO(Input,fmInput,StdInputHandle);
|
||||
OpenStdIO(Output,fmOutput,StdOutputHandle);
|
||||
OpenStdIO(StdOut,fmOutput,StdOutputHandle);
|
||||
end;
|
||||
{$endif}
|
||||
|
||||
|
||||
function CheckInitialStkLen(stklen : SizeUInt) : SizeUInt;
|
||||
|
Loading…
Reference in New Issue
Block a user