bunxmain.inc 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. {
  2. $Id$
  3. Copyright (c) 2002 by Marco van de Voort.
  4. Implementation of the baseunix unit for *BSD^H^H^Hlinux. In practice only
  5. includes other files, or specifies libc bindings.
  6. The conditional uselibc can be used to switch from libc to syscall
  7. usage for basic primitives, but it is best to use unit POSIX if
  8. possible. Note that the system unit must also be compiled using uselibc.
  9. See the file COPYING.FPC, included in this distribution,
  10. for details about the copyright.
  11. This program is distributed in the hope that it will be useful,
  12. but WITHOUT ANY WARRANTY; without even the implied warranty of
  13. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
  14. ****************************************************************************
  15. }
  16. { $I ostypes.inc}
  17. {$ifdef FPC_USE_LIBC}
  18. // {$I oscdeclh.inc}
  19. {$linklib c}
  20. {$else}
  21. {$I sysdeclh.inc}
  22. {$endif}
  23. {$I bunxfunc.inc}
  24. {$I genfuncs.inc}
  25. {
  26. $Log$
  27. Revision 1.4 2003-12-30 15:43:20 marco
  28. * linux now compiles with FPC_USE_LIBC
  29. Revision 1.3 2003/06/01 16:28:56 marco
  30. * small rearrangements
  31. Revision 1.2 2003/01/02 22:39:19 marco
  32. * posmacro.inc was still include while it was already moved to bunxmacr.inc
  33. fixed, will remove posmacro.inc shortly
  34. Revision 1.1 2002/12/18 16:43:26 marco
  35. * new unix rtl, linux part.....
  36. Revision 1.1 2002/11/12 14:37:59 marco
  37. * Parts of new unix rtl
  38. }