xref: /csrg-svn/usr.bin/pascal/src/align.h (revision 22220)
1 /*
2  * Copyright (c) 1980 Regents of the University of California.
3  * All rights reserved.  The Berkeley software License Agreement
4  * specifies the terms and conditions for redistribution.
5  *
6  *	@(#)align.h	5.1 (Berkeley) 06/05/85
7  */
8 
9     /*
10      *	alignment of various types in bytes.
11      *	sizes are found using sizeof( type ).
12      */
13 #ifdef vax
14 #   define A_CHAR	1
15 #   define A_INT	4
16 #   define A_FLOAT	4
17 #   define A_DOUBLE	4
18 #   define A_LONG	4
19 #   define A_SHORT	2
20 #   define A_POINT	4
21 #   define A_STRUCT	1
22 #   define A_STACK	4
23 #   define A_FILET	4
24 #   define A_SET	4
25 #   define A_MIN	1
26 #   define A_MAX	4
27 #endif vax
28 #ifdef mc68000
29 #   define A_CHAR	1
30 #   define A_INT	2
31 #   define A_FLOAT	2
32 #   define A_DOUBLE	2
33 #   define A_LONG	2
34 #   define A_SHORT	2
35 #   define A_POINT	2
36 #   define A_STRUCT	2
37 #   define A_STACK	2
38 #   define A_FILET	2
39 #   define A_SET	2
40 #   define A_MIN	1
41 #   define A_MAX	2
42 #endif mc68000
43