diff options
Diffstat (limited to 'main/mdadm/uclibc-bswap.patch')
-rw-r--r-- | main/mdadm/uclibc-bswap.patch | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/main/mdadm/uclibc-bswap.patch b/main/mdadm/uclibc-bswap.patch deleted file mode 100644 index b1d0428dc82..00000000000 --- a/main/mdadm/uclibc-bswap.patch +++ /dev/null @@ -1,18 +0,0 @@ ---- ./mdadm.h.orig -+++ ./mdadm.h -@@ -104,12 +104,15 @@ - * and there is no standard conversion function so... */ - /* And dietlibc doesn't think byteswap is ok, so.. */ - /* #include <byteswap.h> */ -+#undef bswap_16 - #define bswap_16(x) (((x) & 0x00ffU) << 8 | \ - ((x) & 0xff00U) >> 8) -+#undef bswap_32 - #define bswap_32(x) (((x) & 0x000000ffU) << 24 | \ - ((x) & 0xff000000U) >> 24 | \ - ((x) & 0x0000ff00U) << 8 | \ - ((x) & 0x00ff0000U) >> 8) -+#undef bswap_64 - #define bswap_64(x) (((x) & 0x00000000000000ffULL) << 56 | \ - ((x) & 0xff00000000000000ULL) >> 56 | \ - ((x) & 0x000000000000ff00ULL) << 40 | \ |