xref: /original-bsd/usr.bin/pascal/src/align.h (revision 92d3de31)
1 /* Copyright (c) 1979 Regents of the University of California */
2 
3 /* static	char sccsid[] = "@(#)align.h 1.2 02/01/83"; */
4 
5     /*
6      *	alignment of various types in bytes.
7      *	sizes are found using sizeof( type ).
8      */
9 #ifdef vax
10 #   define A_CHAR	1
11 #   define A_INT	4
12 #   define A_FLOAT	4
13 #   define A_DOUBLE	4
14 #   define A_LONG	4
15 #   define A_SHORT	2
16 #   define A_POINT	4
17 #   define A_STRUCT	1
18 #   define A_STACK	4
19 #   define A_FILET	4
20 #   define A_SET	4
21 #   define A_MIN	1
22 #   define A_MAX	4
23 #endif vax
24 #ifdef mc68000
25 #   define A_CHAR	1
26 #   define A_INT	2
27 #   define A_FLOAT	2
28 #   define A_DOUBLE	2
29 #   define A_LONG	2
30 #   define A_SHORT	2
31 #   define A_POINT	2
32 #   define A_STRUCT	2
33 #   define A_STACK	2
34 #   define A_FILET	2
35 #   define A_SET	2
36 #   define A_MIN	1
37 #   define A_MAX	2
38 #endif mc68000
39