Re: XFree86 4.1.0: call for help
On Wed, 20 Jun 2001, Michel [iso-8859-1] Dänzer wrote:
> You're talking about the status quo, Kostas about the way it should be. Just
> because it's not like that now doesn't mean we don't have to care about it
> anymore.
If he's talking about "the way it should be", then totally removing all
fbdevHW code from every driver is The Right Way.
> Geez:
>
> #if defined(Lynx) || defined(CSRG_BASED) || defined(MACH386) || defined(linux)
> || defined(AMOEBA) || defined(MINIX) || defined(__QNX__) || defined(sun) ||
> defined(__GNU__)
> #ifndef NEED_SAVED_CMAP
> #define NEED_SAVED_CMAP
> ...
>
>
> Good luck changing this the right way. :) And no, just checking for
> __powerpc__ won't do for the reasons above.
?? did you know there's such thing as #undef?
#if defined(__linux__) && defined(__powerpc__)
#undef NEED_SAVED_CMAP
#endif
The only problem with this is for prep machines, this will have to be
tested on there.
ani
Reply to: