2006-12-13 19:26:43 +03:00
|
|
|
/*
|
2008-02-02 20:38:09 +03:00
|
|
|
* Copyright 2006-2008, Haiku, Inc. All Rights Reserved.
|
2006-12-13 19:26:43 +03:00
|
|
|
* Distributed under the terms of the MIT License.
|
|
|
|
*/
|
|
|
|
#ifndef _BSD_SYS_PARAM_H_
|
|
|
|
#define _BSD_SYS_PARAM_H_
|
|
|
|
|
|
|
|
|
|
|
|
#include_next <sys/param.h>
|
|
|
|
|
|
|
|
|
|
|
|
#ifndef _ALIGNBYTES
|
|
|
|
# define _ALIGNBYTES 7
|
|
|
|
#endif
|
|
|
|
#ifndef _ALIGN
|
|
|
|
# define _ALIGN(p) (((unsigned)(p) + _ALIGNBYTES) & ~_ALIGNBYTES)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef ALIGNBYTES
|
|
|
|
# define ALIGNBYTES _ALIGNBYTES
|
|
|
|
#endif
|
|
|
|
#ifndef ALIGN
|
|
|
|
# define ALIGN(p) _ALIGN(p)
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifndef howmany
|
|
|
|
# define howmany(x, y) (((x) + ((y) - 1)) / (y))
|
|
|
|
#endif
|
|
|
|
|
2008-02-02 20:38:09 +03:00
|
|
|
#ifndef MAXLOGNAME
|
|
|
|
# define MAXLOGNAME 32
|
|
|
|
#endif
|
|
|
|
|
2006-12-13 19:26:43 +03:00
|
|
|
#endif /* _BSD_SYS_PARAM_H_ */
|