param.h 1.1 KB

123456789101112131415161718192021222324252627282930
  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 PHP_WIN32_PARAM_H
  11. #define PHP_WIN32_PARAM_H
  12. #ifndef MAXPATHLEN
  13. #include "win32/ioutil.h"
  14. #define MAXPATHLEN PHP_WIN32_IOUTIL_MAXPATHLEN
  15. #endif
  16. #define MAXHOSTNAMELEN 64
  17. #define howmany(x,y) (((x)+((y)-1))/(y))
  18. #define roundup(x,y) ((((x)+((y)-1))/(y))*(y))
  19. #endif
  20. /*
  21. * Local variables:
  22. * tab-width: 4
  23. * c-basic-offset: 4
  24. * End:
  25. * vim600: sw=4 ts=4 fdm=marker
  26. * vim<600: sw=4 ts=4
  27. */