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-sun386i.h < prev    next >
C/C++ Source or Header  |  1995-04-29  |  673b  |  27 lines

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