This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: #ifdefs in inclhack.def


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.


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