[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: linux/compiler.h removed from glibc-kernheaders



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...)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]