From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu Subject: Re: [9fans] PCC - #if From: "Russ Cox" Date: Fri, 4 May 2007 17:57:23 -0400 In-Reply-To: <2af76db8bada74afa8aaf0a3b82635d8@proxima.alt.za> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20070504215727.040951E8C47@holo.morphisms.net> Topicbox-Message-UUID: 59d62d40-ead2-11e9-9d60-3106f5b1d025 > So if I have > > #undef C > > followed by > > #if C > > is it valid or invalid? Your explanation leaves it unclear (or I > missed it, somehow). It is valid. `#if C' macro-expands to `#if C' (no change) and then all names in #if expressions turn into 0s, so it is treated as `#if 0'. Russ