This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Use command line defines vs defining in header files.
- To: Matt Minnis <mminnis at prefres dot com>
- Subject: Re: Use command line defines vs defining in header files.
- From: Gerald Pfeifer <pfeifer at dbai dot tuwien dot ac dot at>
- Date: Mon, 28 Aug 2000 23:50:47 +0200 (CEST)
- cc: gcc at gcc dot gnu dot org
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/