On Wed, 2008-06-04 at 08:47 -0700, David Miller wrote: > From: David Woodhouse <dwmw2@xxxxxxxxxxxxx> > Date: Wed, 04 Jun 2008 16:26:12 +0100 > > > -#ifndef __KERNEL_STRICT_NAMES > > +#if defined(__KERNEL__) || defined(_LOOSE_KERNEL_NAMES) > > This reminds me that I noticed recently that unifdef doesn't > handle multiple conditions in an #if test involving > __KERNEL__ properly. So, for example, for something else > in wireless.h I was working on I had to use: > > #ifdef __KERNEL__ > #ifdef CONFIG_COMPAT > > instead of the more usual: > > #if defined(__KERNEL__) && defined(CONFIG_COMPAT) > > otherwise I'd get check headers errors during the build. Yeah; that's one of the main reasons it hasn't been done yet. -- dwmw2 -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html