Path: utzoo!utgpu!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!BRL.MIL!mike
From: mike@BRL.MIL (Mike Muuss)
Newsgroups: comp.sys.sgi
Subject: Re:  cpp reserved symbols
Message-ID: <8908112233.aa20476@SEM.BRL.MIL>
Date: 12 Aug 89 02:33:55 GMT
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 18

The list of "possibly reserved symbols" is amazingly long.   You find
it by the experimental method, as you port code around. Some that I know
of include:

unix, vax, m68k, m68000, alliant, sel, gould, sgi, mips,
sun, sun3, sparc, apollo, CRAY, CRAY1, CRAY2, convex, ardent,
stellar, eta10, pyr.

The ANSI-C specification calls for vendor-provided symbols to begin
with an underscore and an upper-case letter.  For example, _CRAY,
_Vax, etc.  This is a good idea, but will result in a whole
new raft of symbols being defined.  Along with __STDC__.

There are other pitfalls as well, like when you need ,
when you need , and when you need both.  Arrgh!

	Best,
	 -Mike