From c9a05d4df89b3efcc93f5b5a7ca92ce181d09c58 Mon Sep 17 00:00:00 2001 From: Keith Bostic Date: Fri, 22 May 1987 20:39:38 -0800 Subject: [PATCH] replaced various machine defs with MACHINE SCCS-vsn: old/cpp/cpp.c 1.16 --- usr/src/old/cpp/cpp.c | 37 +++---------------------------------- 1 file changed, 3 insertions(+), 34 deletions(-) diff --git a/usr/src/old/cpp/cpp.c b/usr/src/old/cpp/cpp.c index 2d0b0fa395..9a50739c89 100644 --- a/usr/src/old/cpp/cpp.c +++ b/usr/src/old/cpp/cpp.c @@ -1,5 +1,5 @@ #ifndef lint -static char sccsid[] = "@(#)cpp.c 1.15 %G%"; +static char sccsid[] = "@(#)cpp.c 1.16 %G%"; #endif lint #ifdef FLEXNAMES @@ -8,6 +8,7 @@ static char sccsid[] = "@(#)cpp.c 1.15 %G%"; #define NCPS 8 #endif +# include "sys/param.h" # include "stdio.h" # include "ctype.h" /* C command @@ -1241,39 +1242,7 @@ main(argc,argv) # if unix ysysloc=stsym("unix"); # endif -# if gcos - ysysloc=stsym ("gcos"); -# endif -# if ibm - ysysloc=stsym ("ibm"); -# endif -# if pdp11 - varloc=stsym("pdp11"); -# endif -# if vax - varloc=stsym("vax"); -# endif -# if tahoe - varloc=stsym("tahoe"); -# endif -# if interdata - varloc=stsym ("interdata"); -# endif -# if tss - varloc=stsym ("tss"); -# endif -# if os - varloc=stsym ("os"); -# endif -# if mert - varloc=stsym ("mert"); -# endif -# if mc68000 - varloc=stsym("mc68000"); -# endif -# if sun - varloc=stsym("sun"); -# endif + ysysloc=stsym(MACHINE); ulnloc=stsym ("__LINE__"); uflloc=stsym ("__FILE__"); -- 2.20.1