Put parentheses around some of the SWAP() macros, as pointed out by Peter Kjellerstedt.
This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)
No binary (build failed)
—
(log yok)
| @@ -114,9 +114,9 @@ | |
| #endif | |
| #if BB_BIG_ENDIAN | |
| - | #define SWAP_BE16(x) x |
| - | #define SWAP_BE32(x) x |
| - | #define SWAP_BE64(x) x |
| + | #define SWAP_BE16(x) (x) |
| + | #define SWAP_BE32(x) (x) |
| + | #define SWAP_BE64(x) (x) |
| #define SWAP_LE16(x) bswap_16(x) | |
| #define SWAP_LE32(x) bswap_32(x) | |
| #define SWAP_LE64(x) bswap_64(x) | |
| @@ -124,9 +124,9 @@ | |
| #define SWAP_BE16(x) bswap_16(x) | |
| #define SWAP_BE32(x) bswap_32(x) | |
| #define SWAP_BE64(x) bswap_64(x) | |
| - | #define SWAP_LE16(x) x |
| - | #define SWAP_LE32(x) x |
| - | #define SWAP_LE64(x) x |
| + | #define SWAP_LE16(x) (x) |
| + | #define SWAP_LE32(x) (x) |
| + | #define SWAP_LE64(x) (x) |
| #endif | |
| /* ---- Networking ------------------------------------------ */ | |