1: /* Copyright (c) 1979 Regents of the University of California */
   2: 
   3: /* static	char sccsid[] = "@(#)piwhoami.h 2.1 2/8/84"; */
   4: 
   5: /*
   6:  *	am i generating an obj file (OBJ),
   7:  *	postfix binary input to the 2nd pass of the portable c compiler (PC),
   8:  *	or pTrees (PTREE)?
   9:  */
  10: #define OBJ
  11: #undef  PC
  12: #undef  PTREE
  13: 
  14: /*
  15:  *	we assume one of the following will be defined by the preprocessor:
  16:  *	vax	for vaxes
  17:  *	pdp11	for pdp11's
  18:  *	mc68000	for motorola mc68000's
  19:  */
  20: 
  21: /*
  22:  *	hardware characteristics:
  23:  *	address size (16 or 32 bits) and byte ordering (normal or dec11 family).
  24:  */
  25: #ifdef vax
  26: #undef  ADDR16
  27: #define ADDR32
  28: #define DEC11
  29: #endif vax
  30: #ifdef mc68000
  31: #undef  ADDR16
  32: #define ADDR32
  33: #undef  DEC11
  34: #endif mc68000
  35: #ifdef pdp11
  36: #define ADDR16
  37: #undef  ADDR32
  38: #define DEC11
  39: #endif pdp11
  40: 
  41: /*
  42:  *	am i pi or pxp?
  43:  */
  44: #define PI
  45: #undef  PXP
  46: 
  47: /*
  48:  *	am i both passes, or am i only one of the two passes pi0 or pi1?
  49:  */
  50: #define PI01
  51: #undef  PI0
  52: #undef  PI1
  53: #define DEBUG

Defined macros

ADDR16 defined in line 36; used 3 times
ADDR32 defined in line 32; used 2 times
DEBUG defined in line 53; used 2 times
DEC11 defined in line 38; used 1 times
  • in line 33
OBJ defined in line 10; never used
PI defined in line 44; never used
PI01 defined in line 50; never used

Usage of this include

Last modified: 1984-04-01
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 913
Valid CSS Valid XHTML 1.0 Strict