summaryrefslogtreecommitdiff
path: root/bin/ksh/ksh_limval.h
blob: d8ff7b5c266349c4753d729af134980895ef3a1e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/*	$OpenBSD: ksh_limval.h,v 1.2 2004/12/18 20:55:52 millert Exp $	*/

/* Wrapper around the values.h/limits.h includes/ifdefs */

/* limits.h is included in sh.h */

#ifndef DMAXEXP
# define DMAXEXP	128	/* should be big enough */
#endif

#ifndef BITS
# define BITS(t)	(CHAR_BIT * sizeof(t))
#endif