sizes.h 825 B

1234567891011121314151617181920212223242526272829303132
  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. /* VARIOUS TARGET MACHINE SIZE DESCRIPTORS */
  7. #include "nofloat.h"
  8. #include "nocross.h"
  9. #include "target_sizes.h"
  10. #ifndef NOCROSS
  11. extern arith
  12. short_size, word_size, dword_size, int_size, long_size,
  13. #ifndef NOFLOAT
  14. float_size, double_size,
  15. #endif /* NOFLOAT */
  16. pointer_size;
  17. #else /* NOCROSS */
  18. #define short_size (SZ_SHORT)
  19. #define word_size (SZ_WORD)
  20. #define dword_size (2*SZ_WORD)
  21. #define int_size (SZ_INT)
  22. #define long_size (SZ_LONG)
  23. #ifndef NOFLOAT
  24. #define float_size (SZ_FLOAT)
  25. #define double_size (SZ_DOUBLE)
  26. #endif /* NOFLOAT */
  27. #define pointer_size (SZ_POINTER)
  28. #endif /* NOCROSS */
  29. extern arith max_int, max_unsigned; /* cstoper.c */