cb0d6e58292b1cd9706ef28fd413dd0b6264a1b6
[unix-history] / usr / src / usr.bin / pascal / src / align.h
/*
* Copyright (c) 1980 Regents of the University of California.
* All rights reserved. The Berkeley software License Agreement
* specifies the terms and conditions for redistribution.
*
* @(#)align.h 5.3 (Berkeley) %G%
*/
/*
* alignment of various types in bytes.
* sizes are found using sizeof( type ).
*/
#ifdef vax
# define A_CHAR 1
# define A_INT 4
# define A_FLOAT 4
# define A_DOUBLE 4
# define A_LONG 4
# define A_SHORT 2
# define A_POINT 4
# define A_STRUCT 1
# define A_STACK 4
# define A_FILET 4
# define A_SET 4
# define A_MIN 1
# define A_MAX 4
#endif vax
#ifdef tahoe
# define A_CHAR 1
# define A_INT 4
# define A_FLOAT 4
# define A_DOUBLE 4
# define A_LONG 4
# define A_SHORT 2
# define A_POINT 4
# define A_STRUCT 4
# define A_STACK 4
# define A_FILET 4
# define A_SET 4
# define A_MIN 1
# define A_MAX 4
#endif tahoe
#ifdef mc68000
# define A_CHAR 1
# define A_INT 2
# define A_FLOAT 2
# define A_DOUBLE 2
# define A_LONG 2
# define A_SHORT 2
# define A_POINT 2
# define A_STRUCT 2
# define A_STACK 2
# define A_FILET 2
# define A_SET 2
# define A_MIN 1
# define A_MAX 2
#endif mc68000