home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
nisttime.carsoncity.k12.mi.us
/
nisttime.carsoncity.k12.mi.us.tar
/
nisttime.carsoncity.k12.mi.us
/
pub
/
sha
/
sizint.h
< prev
next >
Wrap
C/C++ Source or Header
|
2001-06-29
|
648b
|
29 lines
/*
sizint.h -- if this is an alpha machine then defines
defines 32 bit int to be a standard int, since a long
int on the alpha is 64 bits.
LFMT is the format corresponding string that must be
used to print out the thing defined as a LONG.
if this is any other machine then define a 32 bit int
as long. Only do this once so that nested includes
don't cause a problem.
*/
#ifndef ALPHA
#define ALPHA 1
#endif
#ifndef LONG
#if ALPHA == 1
#define LONG int
#define ULONG unsigned int
#define LFMT " %d"
#define L5FMT " %5d"
#else
#define LONG long int
#define ULONG unsigned long int
#define LFMT " %ld"
#define L5FMT " %5ld"
#endif
#endif