Subversion Repositories Kolibri OS

Rev

Rev 4874 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. /* This is a dummy <sys/param.h> file, not customized for any
  2.    particular system.  If there is a param.h in libc/sys/SYSDIR/sys,
  3.    it will override this one.  */
  4.  
  5. #ifndef _SYS_PARAM_H
  6. # define _SYS_PARAM_H
  7.  
  8. #include <sys/config.h>
  9. #include <sys/syslimits.h>
  10. #include <machine/endian.h>
  11. #include <machine/param.h>
  12.  
  13. #ifndef HZ
  14. # define HZ (60)
  15. #endif
  16. #ifndef NOFILE
  17. # define NOFILE (60)
  18. #endif
  19. #ifndef PATHSIZE
  20. # define PATHSIZE (1024)
  21. #endif
  22.  
  23. #define MAXPATHLEN PATH_MAX
  24.  
  25. #define MAX(a,b) ((a) > (b) ? (a) : (b))
  26. #define MIN(a,b) ((a) < (b) ? (a) : (b))
  27.  
  28. #endif
  29.