summaryrefslogtreecommitdiff
path: root/include/platform.h
diff options
context:
space:
mode:
authorRob Landley2006-06-01 00:52:30 +0000
committerRob Landley2006-06-01 00:52:30 +0000
commit8fc32d9326be21e4f5fb19762ba2bb38081153d5 (patch)
tree213b4150aa071a65b2b9315d4cc329ed26a50db8 /include/platform.h
parent317a45cb624e43ae9212a946e6b53a9d2f25a970 (diff)
downloadbusybox-8fc32d9326be21e4f5fb19762ba2bb38081153d5.zip
busybox-8fc32d9326be21e4f5fb19762ba2bb38081153d5.tar.gz
Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so
defining it in a guard is silly.
Diffstat (limited to 'include/platform.h')
-rw-r--r--include/platform.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h
index 49797de..7d25850 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 --------------------------------------- */