source: trunk/libs/newlib/src/newlib/libc/include/sys/param.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 703 bytes
Line 
1/* This is a dummy <sys/param.h> file, not customized for any
2   particular system.  If there is a param.h in libc/sys/SYSDIR/sys,
3   it will override this one.  */
4
5#ifndef _SYS_PARAM_H
6# define _SYS_PARAM_H
7
8#include <sys/config.h>
9#include <sys/syslimits.h>
10#include <machine/endian.h>
11#include <machine/param.h>
12
13#ifndef NBBY
14# define NBBY 8         /* number of bits in a byte */
15#endif
16#ifndef HZ
17# define HZ (60)
18#endif
19#ifndef NOFILE
20# define NOFILE (60)
21#endif
22#ifndef PATHSIZE
23# define PATHSIZE (1024)
24#endif
25
26#define MAXPATHLEN PATH_MAX
27
28#define MAX(a,b) ((a) > (b) ? (a) : (b))
29#define MIN(a,b) ((a) < (b) ? (a) : (b))
30
31#ifndef howmany
32#define    howmany(x, y)   (((x)+((y)-1))/(y))
33#endif
34
35#endif
Note: See TracBrowser for help on using the repository browser.