I'd be interested to know what you're coding that would behave
differently depending on the running kernel.

You shouldn't #ifdef this, you should use runtime checks using the
uname() function.

Matt
        
On Wed, Aug 23, 2000 at 02:35:23PM -0500, Frank Liu wrote:
> 
> Since redhat kernel is a bit different from the stock kernel source.
> In my C source code, I need to do things differently depending on
> what kernel the user has. How can I #ifdef test that?
> Thanks!
> Frank



_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list

Reply via email to