xref: /PHP-7.4/win32/param.h (revision 92ac598a)
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 
13 #ifndef MAXPATHLEN
14 #include "win32/ioutil.h"
15 #define MAXPATHLEN PHP_WIN32_IOUTIL_MAXPATHLEN
16 #endif
17 #define MAXHOSTNAMELEN 64
18 #define howmany(x,y)   (((x)+((y)-1))/(y))
19 #define roundup(x,y)   ((((x)+((y)-1))/(y))*(y))
20 
21 #endif
22