linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Is defined() macro portable or GNU only?
@ 2015-09-30 19:25 Daniel.
  2015-09-30 21:27 ` [EXTERNAL] " Curry, Matthew Leon
  0 siblings, 1 reply; 3+ messages in thread
From: Daniel. @ 2015-09-30 19:25 UTC (permalink / raw)
  To: linux-c-programming@vger.kernel.org

Hi all,

I used to check definitions with #ifdef, but in cases where
multiple macros are checked I use #if defined(foo) && defined(bar).
Is this defined() check portable/standard? Or is some kind of
extension added by GCC?

Regards,
- dhs
-- 
"Do or do not. There is no try"
  Yoda Master

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-10-01 13:11 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-30 19:25 Is defined() macro portable or GNU only? Daniel.
2015-09-30 21:27 ` [EXTERNAL] " Curry, Matthew Leon
2015-10-01 13:11   ` Daniel.

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).