There's no need to #ifdef.
glibc uses the following in <sigcontext.h> so that sigcontext has its
standard name under both 2.0.x and 2.1.x:
> /* Kernel headers before 2.1.1 define a struct sigcontext_struct, but
> we need sigcontext. */
> #define sigcontext_struct sigcontext
>
> #include <asm/sigcontext.h>
You just need the opposite, i.e.
> #define sigcontext sigcontext_struct
Or you could change the code to use the standard name.
-- Dave Wragg- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu