Sascha Schumann <[EMAIL PROTECTED]> writes:

> > Okay, what you committed looks nice but on RedHat 6.0 and RedHat 6.1
> > the AC_EGREP_HEADER doesn't find TCP_CORK in the kernel header file
> > because TCP_CORK is hidden by a check for the libc version.
> 
>     Hm, here it looks that way:
> 
>     #if defined(__KERNEL__) || !defined(__GLIBC__) || (__GLIBC__ < 2)
> 
>     Unless GCC defines __GLIBC__ (which it should not do), I
>     don't see any way how this expression can evaluate to false.

GCC doesn't define __GLIBC__, glibc header files do (<features.h>).

Try

#include <stdio.h>
#if defined(__GLIBC__)
#error gobble
#endif

-- 
Jeff Trawick | [EMAIL PROTECTED] | PGP public key at web site:
       http://www.geocities.com/SiliconValley/Park/9289/
             Born in Roswell... married an alien...

Reply via email to