diff options
author | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-06-25 07:47:03 +0000 |
---|---|---|
committer | bug1 <bug1@69ca8d6d-28ef-0310-b511-8ec308f3f277> | 2004-06-25 07:47:03 +0000 |
commit | d7618099f03c6dc3252e357127e059a35e2f9ff1 (patch) | |
tree | df8f3a05094340c807681a234ad880ec11a6be42 /libbb | |
parent | 6b685f8b2885e7347c9c9eb4c724ebf00bc03eeb (diff) | |
download | busybox-w32-d7618099f03c6dc3252e357127e059a35e2f9ff1.tar.gz busybox-w32-d7618099f03c6dc3252e357127e059a35e2f9ff1.tar.bz2 busybox-w32-d7618099f03c6dc3252e357127e059a35e2f9ff1.zip |
Fix compile error under 2.6, check for newer versions first or all the
checks wont be considered.
git-svn-id: svn://busybox.net/trunk/busybox@8926 69ca8d6d-28ef-0310-b511-8ec308f3f277
Diffstat (limited to 'libbb')
-rw-r--r-- | libbb/loop.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libbb/loop.c b/libbb/loop.c index 81d1f0ab6..42720d3cb 100644 --- a/libbb/loop.c +++ b/libbb/loop.c | |||
@@ -31,10 +31,10 @@ | |||
31 | * so we get to try and cope as best we can... */ | 31 | * so we get to try and cope as best we can... */ |
32 | #include <linux/version.h> | 32 | #include <linux/version.h> |
33 | #include <asm/posix_types.h> | 33 | #include <asm/posix_types.h> |
34 | #if LINUX_VERSION_CODE >= 132608 | 34 | #if LINUX_VERSION_CODE >= 0x20600 |
35 | #define __bb_kernel_dev_t __kernel_old_dev_t | ||
36 | #elif LINUX_VERSION_CODE >= 0x20600 | ||
37 | #define __bb_kernel_dev_t __kernel_dev_t | 35 | #define __bb_kernel_dev_t __kernel_dev_t |
36 | #elif LINUX_VERSION_CODE >= 132608 | ||
37 | #define __bb_kernel_dev_t __kernel_old_dev_t | ||
38 | #else | 38 | #else |
39 | #define __bb_kernel_dev_t unsigned short | 39 | #define __bb_kernel_dev_t unsigned short |
40 | #endif | 40 | #endif |