home *** CD-ROM | disk | FTP | other *** search
/ ftp.barnyard.co.uk / 2015.02.ftp.barnyard.co.uk.tar / ftp.barnyard.co.uk / cpm / walnut-creek-CDROM / CPM / AZTEC-C / COMND004.ARK / MEM.H < prev    next >
C/C++ Source or Header  |  1986-06-17  |  808b  |  42 lines

  1. /* mem.h    Names and typedefs that I use regularly.
  2.  
  3.     1984    Mark E. Mallett
  4.  
  5. */
  6.  
  7. #ifndef    MEM_INC                /* If not already included */
  8.  
  9. #define    MEM_INC    0            /* Avoid duplicate includes */
  10.  
  11. #define    AZTEC    1            /* For Aztec compiler specific stuff */
  12. #define    ISCPM    1            /* For CPM */
  13.  
  14.  
  15. #define    isalpha(c) (isupper(c) || islower(c))
  16.  
  17. typedef    char        BYTE;
  18. typedef    int        BOOL;
  19. typedef    int        WORD;
  20. typedef    unsigned int    UWORD;
  21. typedef    long        LONG;
  22. typedef    int        AITYPE;        /* type which can hold both an int
  23.                        and an address value.  */
  24.  
  25. #define    IND    static        /* For variables with no allocation
  26.                     dependancies (don't have to be
  27.                     on the stack) */
  28.  
  29. /* *//* Various constants */
  30.  
  31.  
  32. #ifndef TRUE
  33. #define    TRUE    1
  34. #define    FALSE    0
  35. #endif
  36.  
  37. #ifndef NUL
  38. #define NUL    '\000'
  39. #endif
  40.  
  41. #endif
  42.