This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: #ifdefs in inclhack.def
- From: Bruce Korb <bkorb at veritas dot com>
- To: Nathanael Nerode <neroden at twcny dot rr dot com>
- Cc: GCC-patches <gcc-patches at gcc dot gnu dot org>
- Date: Tue, 22 Jul 2003 06:38:50 -0700
- Subject: Re: #ifdefs in inclhack.def
- References: <20030722122136.GA1631@twcny.rr.com>
- Reply-to: bkorb at veritas dot com
Nathanael Nerode wrote:
>
> I note that a fair amount of stuff in inclhack.def is conditioned
> on #ifdefs, for instance
> #ifdef SVR4
>
> I'm not quite sure what to make of this given that SVR4 is never
> defined when fixincl.x is regenerated, as far as I know. Is this a way
> of commenting them out? :-)
>
> Can I comment some of them back in (presumably after improving them) if
> it's needed for the normalization of SVR4 fixincludes, or what should I
> do?
That is exactly what they are there for. Were you to add a ``-DSVR4''
on the autogen command line in genfixes, then they would be incorporated.
Obviously, they've bit rotted a bit in the last 4-5 years. Consider the
``#ifdef SVR4'' stuff to be implementation hints that should be removed
when the SVR4 implementation is done.