sysunixh.inc 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. $Id$
  3. This file is part of the Free Pascal Run time library.
  4. Copyright (c) 2001 by the Free Pascal development team
  5. This file contains the OS independent declarations of the system unit
  6. for unix styled systems
  7. See the File COPYING.FPC, included in this distribution,
  8. for details about the copyright.
  9. This program is distributed in the hope that it will be useful,
  10. but WITHOUT ANY WARRANTY; without even the implied warranty of
  11. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  12. **********************************************************************}
  13. {$define newsignal}
  14. {$I systemh.inc}
  15. {$ifdef Unix}
  16. type
  17. { the fields of this record are os dependent }
  18. { and they shouldn't be used in a program }
  19. { only the type TCriticalSection is important }
  20. TRTLCriticalSection = packed record
  21. DebugInfo : pointer;
  22. LockCount : longint;
  23. RecursionCount : longint;
  24. OwningThread : DWord;
  25. LockSemaphore : DWord;
  26. Reserved : DWord;
  27. end;
  28. { include threading stuff }
  29. {$i threadh.inc}
  30. {$endif unix}
  31. {$I heaph.inc}
  32. {$ifdef m68k}
  33. { used for single computations }
  34. const
  35. BIAS4 = $7f-1;
  36. {$endif}
  37. {Platform specific information}
  38. const
  39. LineEnding = #10;
  40. LFNSupport = true;
  41. DirectorySeparator = '/';
  42. DriveSeparator = ':';
  43. PathSeparator = ':';
  44. { FileNameCaseSensitive is defined below! }
  45. const
  46. UnusedHandle = -1;
  47. StdInputHandle = 0;
  48. StdOutputHandle = 1;
  49. StdErrorHandle = 2;
  50. FileNameCaseSensitive : boolean = true;
  51. sLineBreak = LineEnding;
  52. DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF;
  53. var
  54. argc : longint;
  55. argv : ppchar;
  56. envp : ppchar;
  57. {
  58. $Log$
  59. Revision 1.15 2002-09-07 16:01:28 peter
  60. * old logs removed and tabs fixed
  61. Revision 1.14 2002/07/01 16:29:05 peter
  62. * sLineBreak changed to normal constant like Kylix
  63. }