projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
317a45c
)
Shaun Jackman pointed out that KERNEL_VERSION() is used without guards, so
author
Rob Landley
<rob@landley.net>
Thu, 1 Jun 2006 00:52:30 +0000
(
00:52
-0000)
committer
Rob 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
patch
|
blob
|
history
diff --git
a/include/platform.h
b/include/platform.h
index 49797de2ad0c2a0ebbb322b4a18cda44061f59c6..7d25850f55e6ee3e92ec2d62a1a06575d9aef196 100644
(file)
--- 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 --------------------------------------- */