Is defined() macro portable or GNU only?
"Daniel." <[email protected]> Wed, 30 Sep 2015 16:25:44 -0300
| Newsgroups | org.kernel.vger.linux-c-programming |
|---|---|
| Message-ID | <CAF3SDA7TQOz9Vzk+iVzLn2SgxW22R-jARjJ+yzvYkSYXnzzM+A@mail.gmail.com> |
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