xref: /csrg-svn/usr.bin/pascal/src/align.h (revision 30028)
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.2 (Berkeley) 11/12/86
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 tahoe
29 #   define A_CHAR	1
30 #   define A_INT	4
31 #   define A_FLOAT	4
32 #   define A_DOUBLE	4
33 #   define A_LONG	4
34 #   define A_SHORT	2
35 #   define A_POINT	4
36 #   define A_STRUCT	4
37 #   define A_STACK	4
38 #   define A_FILET	4
39 #   define A_SET	4
40 #   define A_MIN	1
41 #   define A_MAX	4
42 #endif tahoe
43 #ifdef mc68000
44 #   define A_CHAR	1
45 #   define A_INT	2
46 #   define A_FLOAT	2
47 #   define A_DOUBLE	2
48 #   define A_LONG	2
49 #   define A_SHORT	2
50 #   define A_POINT	2
51 #   define A_STRUCT	2
52 #   define A_STACK	2
53 #   define A_FILET	2
54 #   define A_SET	2
55 #   define A_MIN	1
56 #   define A_MAX	2
57 #endif mc68000
58