1 2 /************** Machine (and compiler) dependent definitions. ************** 3 * 4 * Define appropriate types for the following ranges of integer 5 * variables. These are processor & compiler dependent, but the 6 * distributed definitions will probably work on most systems. 7 */ 8 9 10 11 /* MACHINE TYPE DEFINED TYPE VALUE RANGE */ 12 13 typedef unsigned char int8; /* 0 .. 255 */ 14 typedef short int16; /* -10,000 .. 10,000 */ 15 typedef long int32; /* -100,000 .. 100,000 */ 16 typedef unsigned long uint32; /* 0 .. 2^31-1 */ 17 18 19 20 /* 21 * The VAX does not have longs in network byte order 22 */ 23 24 #undef NETWORK_BYTE_ORDER /* we need to use ntohl/htonl */ 25 #ifdef NETWORK_DATABASE 26 #include <netinet/in.h> 27 #endif 28