xref: /original-bsd/usr.bin/pascal/src/align.h (revision c3e32dec)
1 /*-
2  * Copyright (c) 1980, 1993
3  *	The Regents of the University of California.  All rights reserved.
4  *
5  * %sccs.include.redist.c%
6  *
7  *	@(#)align.h	8.1 (Berkeley) 06/06/93
8  */
9 
10     /*
11      *	alignment of various types in bytes.
12      *	sizes are found using sizeof( type ).
13      */
14 #ifdef vax
15 #   define A_CHAR	1
16 #   define A_INT	4
17 #   define A_FLOAT	4
18 #   define A_DOUBLE	4
19 #   define A_LONG	4
20 #   define A_SHORT	2
21 #   define A_POINT	4
22 #   define A_STRUCT	1
23 #   define A_STACK	4
24 #   define A_FILET	4
25 #   define A_SET	4
26 #   define A_MIN	1
27 #   define A_MAX	4
28 #endif vax
29 #ifdef tahoe
30 #   define A_CHAR	1
31 #   define A_INT	4
32 #   define A_FLOAT	4
33 #   define A_DOUBLE	4
34 #   define A_LONG	4
35 #   define A_SHORT	2
36 #   define A_POINT	4
37 #   define A_STRUCT	4
38 #   define A_STACK	4
39 #   define A_FILET	4
40 #   define A_SET	4
41 #   define A_MIN	1
42 #   define A_MAX	4
43 #endif tahoe
44 #ifdef mc68000
45 #   define A_CHAR	1
46 #   define A_INT	2
47 #   define A_FLOAT	2
48 #   define A_DOUBLE	2
49 #   define A_LONG	2
50 #   define A_SHORT	2
51 #   define A_POINT	2
52 #   define A_STRUCT	2
53 #   define A_STACK	2
54 #   define A_FILET	2
55 #   define A_SET	2
56 #   define A_MIN	1
57 #   define A_MAX	2
58 #endif mc68000
59