xref: /PHP-7.2/win32/param.h (revision 60a69dae)
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 
23 /*
24  * Local variables:
25  * tab-width: 4
26  * c-basic-offset: 4
27  * End:
28  * vim600: sw=4 ts=4 fdm=marker
29  * vim<600: sw=4 ts=4
30  */
31