Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: xsrc/xfree/xc/config/cf



macallan%NetBSD.org@localhost wrote:

> >  /* NetBSD >= 1.5 has setusercontext() */
> >  #if OSMajorVersion == 1 && OSMinorVersion >= 5 || OSMajorVersion > 1
> > +#if !defined(sharkArchitecture)
> >  #define HasSetUserContext       YES
> >  #endif
> > +#endif
> > ---
> >
> > Is this really shark specific?
> 
> Shark needs it, not sure about the others.

According to xfree/xc/config/cf/README, HasSetUserContext is
a value of boolean for setusercontext(), which should be in libutil.
How does it fail with this value? In xdm?

Anyway, please don't put MACHINE_CPU or MACHINE specific #defines
in MI part of NetBSD.cf. Put such defines into MD part and
use #ifndef HasSetUserContext/#endif in MI part instead.
---
Izumi Tsutsui



Home | Main Index | Thread Index | Old Index