Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site brl-tgr.ARPA
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!panda!talcott!harvard!seismo!brl-tgr!gwyn
From: gwyn@brl-tgr.ARPA (Doug Gwyn )
Newsgroups: net.unix-wizards
Subject: Re: Bad choice of preprocessor variable name
Message-ID: <11563@brl-tgr.ARPA>
Date: Sun, 14-Jul-85 07:06:26 EDT
Article-I.D.: brl-tgr.11563
Posted: Sun Jul 14 07:06:26 1985
Date-Received: Wed, 17-Jul-85 05:33:35 EDT
References: <11428@brl-tgr.ARPA> <491@tjalk.UUCP>
Organization: Ballistic Research Lab
Lines: 18

> You can have your cake and eat it: the new Amsterdam Compiler Kit C compiler
> would have sun defined and replace it by sun.

But this approach does not work with the large amount of existing code
that contains things like

#if u370 || pdp11

instead of

#if defined(u370) || defined(pdp11)

And in any case, it breaks

#define	sun( x )	(some-expression)

I don't think this problem has any really good solution.
ANSI C would forbid predefined things like this.