|
From: Peter K. <pk...@us...> - 2001-03-06 10:09:55
|
The following file was modified in linux/include/linux/bluetooth: Name Old version New version Comment ---- ----------- ----------- ------- btcommon.h 1.65 1.66=20=20=20=20=20=20=20=20=20=20=20=20 The accompanying log: Added definition of KERNEL_VERSION() if it is not already defined, so we can rely on it being defined. The diff of the modified file(s): --- btcommon.h 2001/03/02 10:55:03 1.65 +++ btcommon.h 2001/03/06 10:11:34 1.66 @@ -66,6 +66,13 @@ #define FALSE 0 #define TRUE 1 =20 +/* KERNEL_VERSION() is not defined in all 2.0.x versions of the linux kern= el. + Define it here so we can use it in the code without having to check whe= ther + it is defined or not */ +#ifndef KERNEL_VERSION +#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) +#endif + #ifndef __KERNEL__ #define kmalloc(size,prio) malloc((size)) #define kfree(obj) free((obj)) |