You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
1.2 KiB

  1. /*****************************************************************************
  2. * *
  3. * sys/param.c *
  4. * *
  5. * Freely redistributable and modifiable. Use at your own risk. *
  6. * *
  7. * Copyright 1994 The Downhill Project *
  8. * *
  9. *****************************************************************************/
  10. #ifndef MAXPATHLEN
  11. /*#define MAXPATHLEN _MAX_PATH*/
  12. #define MAXPATHLEN 260 /* _MAX_PATH defined in STDLIB.H for Windows; picked up the value from there */
  13. #define _MAX_PATH 260 /* Defined since it is used in os.c while compiling apache */
  14. #endif
  15. #define MAXHOSTNAMELEN 64
  16. #define howmany(x,y) (((x)+((y)-1))/(y))
  17. #define roundup(x,y) ((((x)+((y)-1))/(y))*(y))
  18. #define _MAX_VOLUME 31 /* Defined since it is used in os.c while compiling apache. The value picked up from LibC */