ack/lang/cem/cemcom/sizes.h

33 lines
805 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$ */
/* VARIOUS TARGET MACHINE SIZE DESCRIPTORS */
#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 arith
short_size, word_size, dword_size, int_size, long_size,
#ifndef NOFLOAT
float_size, double_size,
#endif NOFLOAT
pointer_size;
1987-03-25 23:14:43 +00:00
#else NOCROSS
#define short_size (SZ_SHORT)
#define word_size (SZ_WORD)
#define dword_size (2*SZ_WORD)
#define int_size (SZ_INT)
#define long_size (SZ_LONG)
#ifndef NOFLOAT
#define float_size (SZ_FLOAT)
#define double_size (SZ_DOUBLE)
#endif NOFLOAT
#define pointer_size (SZ_POINTER)
#endif NOCROSS
1986-03-10 13:07:55 +00:00
extern arith max_int, max_unsigned; /* cstoper.c */