summaryrefslogtreecommitdiff
path: root/win32/param.h
blob: 3d0da1e8d3bc8b4aad29169fcdd0273fed4ae9f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

/*****************************************************************************
 *                                                                           *
 * sys/param.c                                                               *
 *                                                                           *
 * Freely redistributable and modifiable.  Use at your own risk.             *
 *                                                                           *
 * Copyright 1994 The Downhill Project                                       *
 *                                                                           *
 *****************************************************************************/
#ifndef MAXPATHLEN
#define MAXPATHLEN     _MAX_PATH
#endif
#define MAXHOSTNAMELEN 64
#define howmany(x,y)   (((x)+((y)-1))/(y))
#define roundup(x,y)   ((((x)+((y)-1))/(y))*(y))