This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: extar token question
- From: Gokhan Kisacikoglu <kisa at centropolisfx dot com>
- To: raoul s <raoul_s2001 at yahoo dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 18 Jun 2002 11:50:51 -0700
- Subject: Re: extar token question
- Organization: Centropolis Effects, LLC
- References: <20020618184133.82715.qmail@web21108.mail.yahoo.com>
- Reply-to: kisa at centropolisfx dot com
> #ifdef DEBUG
> #define IP_DEBUG
> #endif DEBUG
>
#ifdef DEBUG
#define IP_DEBUG
#endif // DEBUG
* but better;
#ifdef DEBUG
# ifndef IP_DEBUG
# define IP_DEBUG
# endif
#endif
Otherwise you will also get a warning for defining IP_DEBUG multiple
times.
This is really not a gcc question.