9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: Pietro Gagliardi <pietro10@mac.com>
To: Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu>
Subject: Re: [9fans] A probably stupid question on portability
Date: Tue, 23 Oct 2007 15:14:54 -0400	[thread overview]
Message-ID: <7E848799-3FE6-41CB-9136-D9C6CE002E7C@mac.com> (raw)
In-Reply-To: <13426df10710231210o2ac74db9l77d71813eebf95c6@mail.gmail.com>

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


  reply	other threads:[~2007-10-23 19:14 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-23 19:10 ron minnich
2007-10-23 19:14 ` Pietro Gagliardi [this message]
2007-10-23 20:03 ` Charles Forsyth
2007-10-23 20:12   ` Pietro Gagliardi
2007-10-24  8:58   ` Douglas A. Gwyn
2007-10-24  9:21     ` Charles Forsyth
2007-10-23 22:27 ` David Leimbach
2007-10-23 22:41   ` Pietro Gagliardi
2007-10-24  8:58 ` Douglas A. Gwyn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=7E848799-3FE6-41CB-9136-D9C6CE002E7C@mac.com \
    --to=pietro10@mac.com \
    --cc=9fans@cse.psu.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).