align.h 859 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. /* A L I G N M E N T D E F I N I T I O N S */
  7. #include "nocross.h"
  8. #include "trgt_sizes.h"
  9. #ifndef NOCROSS
  10. extern int
  11. short_align, word_align, int_align, long_align,
  12. float_align, double_align, lngdbl_align,
  13. pointer_align,
  14. struct_align, union_align;
  15. #else /* NOCROSS */
  16. #define short_align ((int)AL_SHORT)
  17. #define word_align ((int)AL_WORD)
  18. #define int_align ((int)AL_INT)
  19. #define long_align ((int)AL_LONG)
  20. #define float_align ((int)AL_FLOAT)
  21. #define double_align ((int)AL_DOUBLE)
  22. #define lngdbl_align ((int)AL_LNGDBL)
  23. #define pointer_align ((int)AL_POINTER)
  24. #define struct_align ((int)AL_STRUCT)
  25. #define union_align ((int)AL_UNION)
  26. #endif /* NOCROSS */
  27. extern arith align();