Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRob Landley <rob@landley.net>2006-06-01 04:52:30 +0400
committerRob Landley <rob@landley.net>2006-06-01 04:52:30 +0400
commit8fc32d9326be21e4f5fb19762ba2bb38081153d5 (patch)
tree213b4150aa071a65b2b9315d4cc329ed26a50db8
parent317a45cb624e43ae9212a946e6b53a9d2f25a970 (diff)
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 --------------------------------------- */