aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-06-01 00:52:30 +0000
committerRob Landley <rob@landley.net>2006-06-01 00:52:30 +0000
commit8fc32d9326be21e4f5fb19762ba2bb38081153d5 (patch)
tree213b4150aa071a65b2b9315d4cc329ed26a50db8
parent317a45cb624e43ae9212a946e6b53a9d2f25a970 (diff)
downloadbusybox-8fc32d9326be21e4f5fb19762ba2bb38081153d5.tar.gz
Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so
defining it in a guard is silly.
-rw-r--r--include/platform.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h
index 49797de2a..7d25850f5 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -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 --------------------------------------- */