Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so
defining it in a guard is silly.
This commit is contained in:
parent
317a45cb62
commit
8fc32d9326
@ -157,9 +157,7 @@ __extension__ typedef unsigned long long __u64;
|
|||||||
#endif /* ___digital__ && __unix__ */
|
#endif /* ___digital__ && __unix__ */
|
||||||
|
|
||||||
/*----- Kernel versioning ------------------------------------*/
|
/*----- Kernel versioning ------------------------------------*/
|
||||||
#ifdef __linux__
|
|
||||||
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
|
||||||
#endif
|
|
||||||
|
|
||||||
/* ---- miscellaneous --------------------------------------- */
|
/* ---- miscellaneous --------------------------------------- */
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user