From mboxrd@z Thu Jan 1 00:00:00 1970 Mime-Version: 1.0 (Apple Message framework v752.3) In-Reply-To: <13426df10710231210o2ac74db9l77d71813eebf95c6@mail.gmail.com> References: <13426df10710231210o2ac74db9l77d71813eebf95c6@mail.gmail.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7E848799-3FE6-41CB-9136-D9C6CE002E7C@mac.com> Content-Transfer-Encoding: 7bit From: Pietro Gagliardi Subject: Re: [9fans] A probably stupid question on portability Date: Tue, 23 Oct 2007 15:14:54 -0400 To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Topicbox-Message-UUID: d6bd3b96-ead2-11e9-9d60-3106f5b1d025 No #if in standard C compilers. Parse through cpp first. Otherwise it should work among compilers. As for the macros themselves, I have no idea. On Oct 23, 2007, at 3:10 PM, ron minnich wrote: > Is this construct portable at this point? c99 or whatever? Or is it > gcc-centric? > > #if defined(_INCLUDED_GASNET_INTERNAL_H) && !defined > (_IN_GASNET_INTERNAL_H) > > > ron