sysunixh.inc 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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. {$I heaph.inc}
  16. {$ifdef cpum68k}
  17. { used for single computations }
  18. const
  19. BIAS4 = $7f-1;
  20. {$endif cpum68k}
  21. {Platform specific information}
  22. type
  23. {$ifdef CPU64}
  24. THandle = Int64;
  25. {$else CPU64}
  26. THandle = Longint;
  27. {$endif CPU64}
  28. const
  29. LineEnding = #10;
  30. LFNSupport = true;
  31. DirectorySeparator = '/';
  32. DriveSeparator = ':';
  33. PathSeparator = ':';
  34. { FileNameCaseSensitive is defined below! }
  35. const
  36. UnusedHandle = -1;
  37. StdInputHandle = 0;
  38. StdOutputHandle = 1;
  39. StdErrorHandle = 2;
  40. FileNameCaseSensitive : boolean = true;
  41. sLineBreak = LineEnding;
  42. DefaultTextLineBreakStyle : TTextLineBreakStyle = tlbsLF;
  43. var
  44. argc : longint;
  45. argv : ppchar;
  46. envp : ppchar;
  47. {
  48. $Log$
  49. Revision 1.18 2003-10-17 20:49:02 olle
  50. * Changed m68k to cpum68k
  51. Revision 1.17 2003/10/16 15:43:13 peter
  52. * THandle is platform dependent
  53. Revision 1.16 2002/10/15 19:30:15 peter
  54. * remove threadh.inc include
  55. Revision 1.15 2002/09/07 16:01:28 peter
  56. * old logs removed and tabs fixed
  57. Revision 1.14 2002/07/01 16:29:05 peter
  58. * sLineBreak changed to normal constant like Kylix
  59. }