2 * Copyright 2002-2012 Haiku, Inc. All Rights Reserved.
3 * Distributed under the terms of the MIT License.
12 #define MAXPATHLEN PATH_MAX
13 #define MAXSYMLINKS SYMLOOP_MAX
15 #define NOFILE OPEN_MAX
18 # define MIN(a,b) (((a) < (b)) ? (a) : (b))
21 # define MAX(a,b) (((a) > (b)) ? (a) : (b))
24 #define _ALIGNBYTES (sizeof(long) - 1)
26 (((u_long)(p) + _ALIGNBYTES) &~ _ALIGNBYTES)
28 /* maximum possible length of this machine's hostname */
29 #ifndef MAXHOSTNAMELEN
30 # define MAXHOSTNAMELEN 256
33 #endif /* _SYS_PARAM_H */