Pristine Ack-5.5
[Ack-5.5.git] / lang / cem / cemcom / align.h
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: align.h,v 3.7 1994/06/24 12:01:53 ceriel Exp $ */
6 /*       A L I G N M E N T   D E F I N I T I O N S      */
7
8 #include "nofloat.h"
9 #include "nocross.h"
10 #include "target_sizes.h"
11
12 #ifndef NOCROSS
13 extern int
14         short_align, word_align, int_align, long_align,
15 #ifndef NOFLOAT
16         float_align, double_align,
17 #endif /* NOFLOAT */
18         pointer_align,
19         struct_align, union_align;
20 #else /* NOCROSS */
21 #define short_align     ((int)AL_SHORT)
22 #define word_align      ((int)AL_WORD)
23 #define int_align       ((int)AL_INT)
24 #define long_align      ((int)AL_LONG)
25 #ifndef NOFLOAT
26 #define float_align     ((int)AL_FLOAT)
27 #define double_align    ((int)AL_DOUBLE)
28 #endif /* NOFLOAT */
29 #define pointer_align   ((int)AL_POINTER)
30 #define struct_align    ((int)AL_STRUCT)
31 #define union_align     ((int)AL_UNION)
32 #endif /* NOCROSS */
33
34 extern arith align();