linux/compiler.h removed from glibc-kernheaders

Arjan van de Ven arjan at fenrus.demon.nl
Tue Jun 27 12:50:49 UTC 2006


On Tue, 2006-06-27 at 13:57 +0200, Robert Scheck wrote:
> Hello Axel and Jesse,
> 
> On Tue, 27 Jun 2006, Jesse Keating wrote:
> > The one package I ran into this on wanted to include compiler.h but
> > didn't really use anything from it.  Removing the include let to the
> > package building just fine.  Have you given this a try?
> 
> It looks like linux/compiler.h was used (abused?) to detect the difference
> between a Linux 2.4 and 2.6 system, at least at arrayprobe.

I would argue that an application that tries to detect 2.4 vs 2.6 at
compiletime is broken by design... (since.. who knows what kernel you
will be running on...)




More information about the fedora-devel-list mailing list