Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_posix/sys/src/ape/cmd/pdksh/ksh_limval.h – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
2 - 1
/* Wrapper around the values.h/limits.h includes/ifdefs */
2
/* $Id$ */
3
 
4
#ifdef HAVE_VALUES_H
5
# include <values.h>
6
#endif /* HAVE_VALUES_H */
7
/* limits.h is included in sh.h */
8
 
9
#ifndef DMAXEXP
10
# define DMAXEXP	128	/* should be big enough */
11
#endif
12
 
13
#ifndef BITSPERBYTE
14
# ifdef CHAR_BIT
15
#  define BITSPERBYTE	CHAR_BIT
16
# else
17
#  define BITSPERBYTE	8	/* probably true.. */
18
# endif
19
#endif
20
 
21
#ifndef BITS
22
# define BITS(t)	(BITSPERBYTE * sizeof(t))
23
#endif