← Commit list

d9670461c

Glenn L McGrath
Glenn L McGrath
2004-06-25
FAILED Duration: 27s

Subject

Fix compile error under 2.6, check for newer versions first or all the checks wont be considered.

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

libbb/loop.c+3 -3
@@ -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