For instance:

 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0)
        struct video_device *dev = video_devdata(file);
#endif
        struct quickcam *qc = dev->priv;  


How can I tell the results of the preprocessor evaluation
of 'LINUX_VERSION_CODE' to be sure?  I've run a whole
lot of makes in the last 24 hours and at this point
I don't even care if this gets built because I see
that the 'gspca_stv...' driver is getting loaded.
I just want to understand why the version code is
not being evaluated when I'm running 2.6.30 (on AMD64)
and can see the version code in 'version.h' is correct:


cat /usr/src/linux-headers-2.6.30-1-amd64/include/linux/version.h
#define LINUX_VERSION_CODE 132638
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))






-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to