osdefs.inc 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. $Id$
  3. Copyright (c) 2000-2002 by Marco van de Voort
  4. Target dependent defines used when compileing the baseunix unit
  5. This program is free software; you can redistribute it and/or modify
  6. it under the terms of the GNU General Public License as published by
  7. the Free Software Foundation; either version 2 of the License, or
  8. (at your option) any later version.
  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. See the
  12. GNU General Public License for more details.
  13. You should have received a copy of the GNU General Public License
  14. along with this program; if not, write to the Free Software
  15. Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  16. ****************************************************************************}
  17. {$ifndef cpux86_64}
  18. {$define usestime} // Use stime() syscall instead of settimeofday
  19. {$endif}
  20. {$define oldreaddir} // Keep using readdir system call instead
  21. // of userland getdents stuff.
  22. {$define usedomain} // Allow uname with "domain" entry.
  23. // (which is a GNU extension)
  24. {$ifdef FPC_USE_LIBC}
  25. {$define usegetcwd}
  26. {$endif}
  27. {
  28. $Log$
  29. Revision 1.3 2005-02-14 17:29:06 peter
  30. * no stime for x86_64
  31. Revision 1.2 2005/02/14 17:13:30 peter
  32. * truncate log
  33. Revision 1.1 2005/02/13 21:47:56 peter
  34. * include file cleanup part 2
  35. Revision 1.1 2005/02/13 20:01:38 peter
  36. * include file cleanup
  37. }