Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so
authorRob Landley <rob@landley.net>
Thu, 1 Jun 2006 00:52:30 +0000 (00:52 -0000)
committerRob Landley <rob@landley.net>
Thu, 1 Jun 2006 00:52:30 +0000 (00:52 -0000)
defining it in a guard is silly.

include/platform.h

index 49797de2ad0c2a0ebbb322b4a18cda44061f59c6..7d25850f55e6ee3e92ec2d62a1a06575d9aef196 100644 (file)
@@ -157,9 +157,7 @@ __extension__ typedef unsigned long long __u64;
 #endif /* ___digital__ && __unix__ */
 
 /*----- Kernel versioning ------------------------------------*/
-#ifdef __linux__
 #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
-#endif
 
 /* ---- miscellaneous --------------------------------------- */