aee4b07b8a
headers, and a few other insignificant changes.
19 lines
477 B
C
19 lines
477 B
C
/* File : ourlims.h
|
|
Author : Richard A. O'Keefe
|
|
Defines: UCHAR_MAX, CHAR_BIT, LONG_BIT
|
|
|
|
$Id: ourlims.h,v 1.2 1993/08/02 17:54:46 mycroft Exp $
|
|
*/
|
|
/* If <limits.h> is available, use that.
|
|
Otherwise, use 8-bit byte as the default.
|
|
If the number of characters is a power of 2, you might be able
|
|
to use (unsigned char)(~0), but why get fancy?
|
|
*/
|
|
#ifdef __STDC__
|
|
#include <limits.h>
|
|
#else
|
|
#define UCHAR_MAX 255
|
|
#define CHAR_BIT 8
|
|
#endif
|
|
#define LONG_BIT 32
|