home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Unix System Administration Handbook 1997 October
/
usah_oct97.iso
/
news
/
nn.tar
/
nn-6.5.1
/
conf
/
m-vax.h
< prev
next >
Wrap
C/C++ Source or Header
|
1995-04-29
|
788b
|
34 lines
/************** Machine (and compiler) dependent definitions. **************
*
* Define appropriate types for the following ranges of integer
* variables. These are processor & compiler dependent, but the
* distributed definitions will probably work on most systems.
*/
/* MACHINE TYPE DEFINED TYPE VALUE RANGE */
typedef unsigned char int8; /* 0 .. 255 */
typedef short int16; /* -10,000 .. 10,000 */
typedef long int32; /* -100,000 .. 100,000 */
typedef unsigned long uint32; /* 0 .. 2^31-1 */
/*
* VAX/BSD has varargs.h but not v[s]printf()
*/
#define NO_VARARGS
/*
* The VAX does not have longs in network byte order
*/
#undef NETWORK_BYTE_ORDER /* we need to use ntohl/htonl */
#ifdef NETWORK_DATABASE
#include <netinet/in.h>
#endif