ack/lang/cem/cemcom/align.h

35 lines
908 B
C
Raw Normal View History

/*
* (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
* See the copyright notice in the ACK home directory, in the file "Copyright".
*/
1986-03-10 13:07:55 +00:00
/* $Header$ */
/* A L I G N M E N T D E F I N I T I O N S */
#include "nofloat.h"
1987-03-25 23:14:43 +00:00
#include "nocross.h"
#include "target_sizes.h"
1987-03-25 23:14:43 +00:00
#ifndef NOCROSS
1986-03-10 13:07:55 +00:00
extern int
short_align, word_align, int_align, long_align,
#ifndef NOFLOAT
float_align, double_align,
#endif /* NOFLOAT */
pointer_align,
1986-03-10 13:07:55 +00:00
struct_align, union_align;
#else /* NOCROSS */
1987-03-25 23:14:43 +00:00
#define short_align ((int)AL_SHORT)
#define word_align ((int)AL_WORD)
#define int_align ((int)AL_INT)
#define long_align ((int)AL_LONG)
#ifndef NOFLOAT
#define float_align ((int)AL_FLOAT)
#define double_align ((int)AL_DOUBLE)
#endif /* NOFLOAT */
1987-03-25 23:14:43 +00:00
#define pointer_align ((int)AL_POINTER)
#define struct_align ((int)AL_STRUCT)
#define union_align ((int)AL_UNION)
#endif /* NOCROSS */
1986-03-10 13:07:55 +00:00
extern arith align();