mirror of
https://git.busybox.net/busybox
synced 2026-01-31 16:43:21 +00:00
Fix compile error under 2.6, check for newer versions first or all the
checks wont be considered.
This commit is contained in:
parent
5f2a23c3c6
commit
d9670461c4
1 changed files with 3 additions and 3 deletions
|
|
@ -31,10 +31,10 @@
|
|||
* so we get to try and cope as best we can... */
|
||||
#include <linux/version.h>
|
||||
#include <asm/posix_types.h>
|
||||
#if LINUX_VERSION_CODE >= 132608
|
||||
#define __bb_kernel_dev_t __kernel_old_dev_t
|
||||
#elif LINUX_VERSION_CODE >= 0x20600
|
||||
#if LINUX_VERSION_CODE >= 0x20600
|
||||
#define __bb_kernel_dev_t __kernel_dev_t
|
||||
#elif LINUX_VERSION_CODE >= 132608
|
||||
#define __bb_kernel_dev_t __kernel_old_dev_t
|
||||
#else
|
||||
#define __bb_kernel_dev_t unsigned short
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue