home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 9 Archive / 09-Archive.zip / ZOO21E.EXE / MACHINE.H < prev    next >
Text File  |  1991-07-11  |  1KB  |  31 lines

  1. /* @(#) machine.h 2.1 87/12/25 12:22:43 */
  2.  
  3. /*
  4. The contents of this file are hereby released to the public domain.
  5.  
  6.                            -- Rahul Dhesi 1986/11/14
  7. */
  8.  
  9. /*
  10. This file holds definitions that usually do not change
  11. between different systems, except when using REALLY strange systems.  But
  12. options.h and machine.c hold stuff that does change quite a bit.
  13. */
  14.  
  15. /*
  16. MAXLONG is the maximum size of a long integer.  Right now it doesn't have to
  17. be accurate since it's only used within zooext() to fake infinite disk space.
  18. */
  19. #define  MAXLONG  ((unsigned long) (~0L))
  20.  
  21. /*
  22. Type BYTE must hold exactly 8 bits.  The code will collapse badly if BYTE is
  23. anything other than exactly 8 bits. To avoid sign extension when casting
  24. BYTE to a longer size, it must be declared unsigned.  For machine-
  25. independence, Zoo does all I/O of archive headers and directory entries
  26. in units of BYTE.  The actual file data are not written in units of
  27. BYTE, however, so portability may not be absolute.
  28. */
  29. typedef  unsigned char BYTE;  /* type corresponding to an 8-bit byte */
  30.  
  31.