{ $Id$ This file is part of the Free Pascal Run time library. Copyright (c) 2001 by the Free Pascal development team This file contains the OS independent declarations of the system unit for unix styled systems See the File COPYING.FPC, included in this distribution, for details about the copyright. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. **********************************************************************} {$define newsignal} {$I systemh.inc} {$ifdef Unix} type { the fields of this record are os dependent } { and they shouldn't be used in a program } { only the type TCriticalSection is important } TRTLCriticalSection = packed record DebugInfo : pointer; LockCount : longint; RecursionCount : longint; OwningThread : DWord; LockSemaphore : DWord; Reserved : DWord; end; { include threading stuff } {$i threadh.inc} {$endif unix} {$I heaph.inc} {$ifdef m68k} { used for single computations } const BIAS4 = $7f-1; {$endif} {Platform specific information} const LineEnding = #10; LFNSupport = true; DirectorySeparator = '/'; DriveSeparator = ':'; PathSeparator = ':'; { FileNameCaseSensitive is defined below! } const UnusedHandle = -1; StdInputHandle = 0; StdOutputHandle = 1; StdErrorHandle = 2; FileNameCaseSensitive : boolean = true; sLineBreak = LineEnding; DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF; var argc : longint; argv : ppchar; envp : ppchar; { $Log$ Revision 1.15 2002-09-07 16:01:28 peter * old logs removed and tabs fixed Revision 1.14 2002/07/01 16:29:05 peter * sLineBreak changed to normal constant like Kylix }