Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!seismo!ut-sally!husc6!mit-eddie!rutgers!clyde!cbatt!ihnp4!houxm!ho95e!wcs
From: wcs@ho95e.UUCP (#Bill.Stewart)
Newsgroups: comp.lang.c
Subject: Re: RMS comments to X3J11 (LONG)
Message-ID: <1258@ho95e.UUCP>
Date: Sun, 11-Jan-87 23:15:34 EST
Article-I.D.: ho95e.1258
Posted: Sun Jan 11 23:15:34 1987
Date-Received: Tue, 13-Jan-87 04:47:08 EST
References: <2144@brl-adm.ARPA> <5497@brl-smoke.ARPA>
Reply-To: wcs@ho95e.UUCP (Bill Stewart 1-201-949-0705 ihnp4!ho95c!wcs HO 2G202)
Organization: AT&T Bell Labs, Holmdel NJ
Lines: 17


One of the topics of discussion was the standards's disparagement of
the practice of #define constants for machine names not starting with _.
(This results in variable names like "sun" getting trashed into "1".)
Doug's suggestion was to have such constants start with _sys_ and _mach_,
e.g. _sys_43bsd or _mach_vax.  As an alternative, why not let
_sys_ and _machine_ be preprocessor variables, leading to
	#define	_sys_	SysVR2
	#define	_machine_	u3b2
and
	#if _machine_ = vax
instead of
	#ifdef _mach_vax

-- 
# Bill Stewart, AT&T Bell Labs 2G-202, Holmdel NJ 1-201-949-0705 ihnp4!ho95c!wcs