summaryrefslogblamecommitdiff
path: root/user/userspace-rcu/endian.patch
blob: d80495c8abaa1ea425de881cd0264509df8b169e (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                                                                   
--- userspace-rcu-0.14.0/doc/examples/rculfhash/jhash.h.old	2023-02-13 11:51:12.000000000 -0600
+++ userspace-rcu-0.14.0/doc/examples/rculfhash/jhash.h	2024-08-10 18:35:07.651374111 -0500
@@ -51,7 +51,7 @@
 	c ^= b; c -= rot(b, 24); \
 }
 
-#if (BYTE_ORDER == LITTLE_ENDIAN)
+#if (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)
 #define HASH_LITTLE_ENDIAN	1
 #else
 #define HASH_LITTLE_ENDIAN	0