types.h 654 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #ifndef TEM_WSIZE
  7. TEM_WSIZE should be defined at this point
  8. #endif
  9. #ifndef TEM_PSIZE
  10. TEM_PSIZE should be defined at this point
  11. #endif
  12. #if TEM_WSIZE>4 || TEM_PSIZE>4
  13. Implementation will not be correct unless a long integer
  14. has more then 4 bytes of precision.
  15. #endif
  16. typedef char byte;
  17. typedef char * string;
  18. #if TEM_WSIZE>2 || TEM_PSIZE>2
  19. #define full long
  20. #else
  21. #define full int
  22. #endif
  23. #define word long
  24. #ifndef WRD_FMT
  25. #define WRD_FMT "%ld"
  26. #endif /* WRD_FMT */