xref: /original-bsd/usr.bin/pascal/pxp/whoami.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  *	@(#)whoami.h	8.1 (Berkeley) 06/06/93
8  */
9 
10 /*
11  *	we assume one of the following will be defined by the preprocessor:
12  *	vax	for vaxes
13  *	pdp11	for pdp11's
14  *	mc68000	for motorola mc68000's
15  *	tahoe	for cci power 6/32's
16  */
17 
18 /*
19  *	hardware characteristics:
20  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
21  */
22 #ifdef vax
23 #undef	ADDR16
24 #define	ADDR32
25 #define	DEC11
26 #endif vax
27 #ifdef mc68000
28 #undef	ADDR16
29 #define	ADDR32
30 #undef	DEC11
31 #endif mc68000
32 #ifdef tahoe
33 #undef	ADDR16
34 #define	ADDR32
35 #undef	DEC11
36 #endif tahoe
37 #ifdef pdp11
38 #define	ADDR16
39 #undef	ADDR32
40 #define	DEC11
41 #endif pdp11
42 
43 /*
44  *	am i pi or pxp?
45  */
46 #undef PI
47 #define	PXP
48 
49 /*
50  *	am i both passes, or am i only one of the two passes pi0 or pi1?
51  */
52 #define	PI01
53 #undef	PI0
54 #undef	PI1
55