This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Use command line defines vs defining in header files.


On Mon, 28 Aug 2000, Matt Minnis wrote:
> On a similar note, why is #ifdef XXX used more than #if XXX?

If you #define SOMETHING, #ifdef SOMETHING evaluates to true, but
#if SOMETHING causes an error.

Gerald
-- 
Gerald "Jerry" pfeifer@dbai.tuwien.ac.at http://www.dbai.tuwien.ac.at/~pfeifer/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]