From: Bryan Christ <bryan.christ@hp.com>
To: linux-c-programming@vger.kernel.org
Subject: standard OS defines
Date: Wed, 22 Aug 2007 13:35:21 -0500 [thread overview]
Message-ID: <46CC81E9.1080904@hp.com> (raw)
does anyone know where i can find a list of standardized OS defines?
i've come across the list below, but i haven't found an authoritative
resource convince me these are standard/correct. even if they are i'm
sure what i've found is a just a subset of a larger list--but i don't
know where to look.
__CYGWIN__
__NetBSD__
__OpenBSD__
__linux__
__sun__
also, is there a tool that like getconf that i can use to pipe these
defines into gcc at compile time?
thanks in advance,
bryan
next reply other threads:[~2007-08-22 18:35 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-08-22 18:35 Bryan Christ [this message]
2007-08-22 19:24 ` standard OS defines Stephen Kratzer
2007-08-22 19:28 ` Bryan Christ
2007-08-22 19:47 ` Stephen Kratzer
2007-08-22 19:48 ` Bryan Christ
2007-08-22 20:01 ` Stephen Kratzer
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=46CC81E9.1080904@hp.com \
--to=bryan.christ@hp.com \
--cc=linux-c-programming@vger.kernel.org \
/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).