aboutsummaryrefslogtreecommitdiffstats
path: root/main/drbd/bits_per_long.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/drbd/bits_per_long.patch')
-rw-r--r--main/drbd/bits_per_long.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/main/drbd/bits_per_long.patch b/main/drbd/bits_per_long.patch
deleted file mode 100644
index 7b094817a4..0000000000
--- a/main/drbd/bits_per_long.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ./user/drbd_endian.h.orig
-+++ ./user/drbd_endian.h
-@@ -13,9 +13,16 @@
-
- #include <stdint.h>
- #include <endian.h>
-+#include <limits.h>
-
- #ifndef BITS_PER_LONG
--# define BITS_PER_LONG __WORDSIZE
-+# ifdef __WORDSIZE
-+# define BITS_PER_LONG __WORDSIZE
-+# elif ULONG_MAX == 0xffffffffffffffff
-+# define BITS_PER_LONG 64
-+# elif ULONG_MAX == 0xffffffff
-+# define BITS_PER_LONG 32
-+# endif
- #endif
-
- /* linux/byteorder/swab.h */