mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 11:29:29 +02:00
+ added some more WASI RTL constants
git-svn-id: branches/wasm@48238 -
This commit is contained in:
parent
f8361cb5dd
commit
9f69800394
@ -9,7 +9,31 @@ interface
|
||||
{$I systemh.inc}
|
||||
|
||||
const
|
||||
LineEnding = #10;
|
||||
LFNSupport = true;
|
||||
DirectorySeparator = '/';
|
||||
DriveSeparator = '';
|
||||
ExtensionSeparator = '.';
|
||||
PathSeparator = ':';
|
||||
AllowDirectorySeparators : set of char = ['\','/'];
|
||||
AllowDriveSeparators : set of char = [];
|
||||
{ FileNameCaseSensitive and FileNameCasePreserving are defined below! }
|
||||
maxExitCode = 65535;
|
||||
MaxPathLen = 4096;
|
||||
AllFilesMask = '*';
|
||||
|
||||
const
|
||||
UnusedHandle = -1;
|
||||
StdInputHandle = 0;
|
||||
StdOutputHandle = 1;
|
||||
StdErrorHandle = 2;
|
||||
|
||||
FileNameCaseSensitive : boolean = true;
|
||||
FileNameCasePreserving: boolean = true;
|
||||
CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
|
||||
|
||||
sLineBreak = LineEnding;
|
||||
DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF;
|
||||
|
||||
{$else FULL_RTL}
|
||||
type
|
||||
|
Loading…
Reference in New Issue
Block a user