diff options
author | Rob Landley <rob@landley.net> | 2006-06-01 00:52:30 +0000 |
---|---|---|
committer | Rob Landley <rob@landley.net> | 2006-06-01 00:52:30 +0000 |
commit | 8fc32d9326be21e4f5fb19762ba2bb38081153d5 (patch) | |
tree | 213b4150aa071a65b2b9315d4cc329ed26a50db8 | |
parent | 317a45cb624e43ae9212a946e6b53a9d2f25a970 (diff) | |
download | busybox-w32-8fc32d9326be21e4f5fb19762ba2bb38081153d5.tar.gz busybox-w32-8fc32d9326be21e4f5fb19762ba2bb38081153d5.tar.bz2 busybox-w32-8fc32d9326be21e4f5fb19762ba2bb38081153d5.zip |
Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so
defining it in a guard is silly.
-rw-r--r-- | include/platform.h | 2 |
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; | |||
157 | #endif /* ___digital__ && __unix__ */ | 157 | #endif /* ___digital__ && __unix__ */ |
158 | 158 | ||
159 | /*----- Kernel versioning ------------------------------------*/ | 159 | /*----- Kernel versioning ------------------------------------*/ |
160 | #ifdef __linux__ | ||
161 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) | 160 | #define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c)) |
162 | #endif | ||
163 | 161 | ||
164 | /* ---- miscellaneous --------------------------------------- */ | 162 | /* ---- miscellaneous --------------------------------------- */ |
165 | 163 | ||